summaryrefslogtreecommitdiff
path: root/drivers/staging/netwave
diff options
context:
space:
mode:
authorRandy Dunlap <randy.dunlap@oracle.com>2009-11-07 02:35:15 +0300
committerJohn W. Linville <linville@tuxdriver.com>2009-11-11 23:23:48 +0300
commit6a6a5c7af130e703c23d23ebe3cde23e079e554e (patch)
tree4a0902bf198530221b6117e71cb0650e9ac400d3 /drivers/staging/netwave
parent309e731a619bee28ace609b0c4c3a0029b7e5394 (diff)
downloadlinux-6a6a5c7af130e703c23d23ebe3cde23e079e554e.tar.xz
staging/wireless: don't build when NET etc. are not enabled
These wireless drivers in staging could be built when CONFIG_NET=n, CONFIG_NETDEVICES=n, causing this build error: net/wireless/wext-priv.c: In function 'ioctl_private_call': net/wireless/wext-priv.c:206: error: implicit declaration of function 'call_commit_handler' due to faulty selects. Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com> Cc: Greg Kroah-Hartman <gregkh@suse.de> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/staging/netwave')
-rw-r--r--drivers/staging/netwave/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/netwave/Kconfig b/drivers/staging/netwave/Kconfig
index c0c996c0550a..8033e8171f9e 100644
--- a/drivers/staging/netwave/Kconfig
+++ b/drivers/staging/netwave/Kconfig
@@ -1,6 +1,6 @@
config PCMCIA_NETWAVE
tristate "Xircom Netwave AirSurfer Pcmcia wireless support"
- depends on PCMCIA
+ depends on PCMCIA && WLAN
select WIRELESS_EXT
select WEXT_PRIV
help