]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
wimax: testing for rfkill support should also test for CONFIG_RFKILL_MODULE
authorInaky Perez-Gonzalez <inaky@linux.intel.com>
Thu, 8 Jan 2009 19:08:01 +0000 (11:08 -0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 8 Jan 2009 19:08:01 +0000 (11:08 -0800)
Current WiMAX rfkill code is missing the case where rfkill is compiled
in as modules and works only when rfkill is compiled in. This is not
correct. Fixed to test for CONFIG_RFKILL or CONFIG_RKILL_MODULE.

Signed-off-by: Inaky Perez-Gonzalez <inaky@linux.intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/wimax/op-rfkill.c

index 8745bac173f182aa5bd7fe79161585fde4a12efa..2b75aee042173b5edb5d13d12216180b67497688 100644 (file)
@@ -71,7 +71,7 @@
 #define D_SUBMODULE op_rfkill
 #include "debug-levels.h"
 
-#ifdef CONFIG_RFKILL
+#if defined(CONFIG_RFKILL) || defined(CONFIG_RFKILL_MODULE)
 
 
 /**