浏览代码

wireless: depends on NET

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>
Randy Dunlap 15 年之前
父节点
当前提交
9459d59fbf
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      drivers/net/wireless/Kconfig

+ 1 - 0
drivers/net/wireless/Kconfig

@@ -5,6 +5,7 @@
 menuconfig WLAN
 menuconfig WLAN
 	bool "Wireless LAN"
 	bool "Wireless LAN"
 	depends on !S390
 	depends on !S390
+	depends on NET
 	select WIRELESS
 	select WIRELESS
 	default y
 	default y
 	---help---
 	---help---