wireless: depends on NET
authorRandy Dunlap <randy.dunlap@oracle.com>
Mon, 10 May 2010 16:24:29 +0000 (09:24 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 10 May 2010 18:56:49 +0000 (14:56 -0400)
When CONFIG_NET is disabled, the attempt to build wext-priv.c
fails with:

net/wireless/wext-priv.c: In function 'ioctl_private_call':
net/wireless/wext-priv.c:207: error: implicit declaration of function 'call_commit_handler'

Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/Kconfig

index 2fbe9b4..174e344 100644 (file)
@@ -5,6 +5,7 @@
 menuconfig WLAN
        bool "Wireless LAN"
        depends on !S390
+       depends on NET
        select WIRELESS
        default y
        ---help---