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)
commita2e9da4b09c99857080afd2e8143f70bc03ebe9b
treeade1399ed3785a16330d67d97a214bcad6fe4bf3
parent71f78afd67ca51d3656ba45aea293d6e2a27c8bc
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>
net/wimax/op-rfkill.c