Browse Source

[WIRELESS]: Fix config dependencies.

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>
Dave Jones 19 years ago
parent
commit
868d2c1efe
1 changed files with 1 additions and 0 deletions
  1. 1 0
      drivers/net/wireless/Kconfig

+ 1 - 0
drivers/net/wireless/Kconfig

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