Kaynağa Gözat

wimax: testing for rfkill support should also test for CONFIG_RFKILL_MODULE

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>
Inaky Perez-Gonzalez 16 yıl önce
ebeveyn
işleme
a2e9da4b09
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  1. 1 1
      net/wimax/op-rfkill.c

+ 1 - 1
net/wimax/op-rfkill.c

@@ -71,7 +71,7 @@
 #define D_SUBMODULE op_rfkill
 #define D_SUBMODULE op_rfkill
 #include "debug-levels.h"
 #include "debug-levels.h"
 
 
-#ifdef CONFIG_RFKILL
+#if defined(CONFIG_RFKILL) || defined(CONFIG_RFKILL_MODULE)
 
 
 
 
 /**
 /**