[WIRELESS]: Fix config dependencies.
authorDave Jones <davej@redhat.com>
Fri, 24 Mar 2006 23:47:25 +0000 (15:47 -0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 24 Mar 2006 23:47:25 +0000 (15:47 -0800)
I accidentally ended up with a config that set NET_RADIO off,
and NET_WIRELESS_RTNETLINK on, which blew up thus..

net/built-in.o: In function `do_setlink':net/core/rtnetlink.c:479: undefined reference to `wireless_rtnetlink_set'
net/built-in.o: In function `do_getlink':net/core/rtnetlink.c:521: undefined reference to `wireless_rtnetlink_get'

Signed-off-by: Dave Jones <davej@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/wireless/Kconfig

index 6a1033ec06cf9cec5c2cd29376a11c9f384687df..fd17aa8491b68e26968d85e44bbf13f0af4d878c 100644 (file)
@@ -27,6 +27,7 @@ config NET_RADIO
 
 config NET_WIRELESS_RTNETLINK
        bool "Wireless Extension API over RtNetlink"
+       depends on NET_RADIO
        ---help---
          Support the Wireless Extension API over the RtNetlink socket
          in addition to the traditional ioctl interface (selected above).