浏览代码

[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 年之前
父节点
当前提交
868d2c1efe
共有 1 个文件被更改,包括 1 次插入0 次删除
  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).