Skip to content

Commit

Permalink
wimax: testing for rfkill support should also test for CONFIG_RFKILL_…
Browse files Browse the repository at this point in the history
…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 <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
  • Loading branch information
Inaky Perez-Gonzalez authored and davem330 committed Jan 8, 2009
1 parent 71f78af commit a2e9da4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion net/wimax/op-rfkill.c
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@
#define D_SUBMODULE op_rfkill
#include "debug-levels.h"

#ifdef CONFIG_RFKILL
#if defined(CONFIG_RFKILL) || defined(CONFIG_RFKILL_MODULE)


/**
Expand Down

0 comments on commit a2e9da4

Please sign in to comment.