浏览代码

[PATCH] let IPW2{1,2}00 select IEEE80211

This patch makes the IPW2100 and IPW2200 options available in
the configuration menu even if IEEE80211 has not been selected before.
This behaviour is more intuitive for people which are not familiar with
the driver internals.
The suggestion for this change was made by Alejandro Bonilla Beeche.

Signed-off-by: Jan Niehusmann <jan@gondor.com>
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Jan Niehusmann 19 年之前
父节点
当前提交
4ddc1651ce
共有 1 个文件被更改,包括 4 次插入2 次删除
  1. 4 2
      drivers/net/wireless/Kconfig

+ 4 - 2
drivers/net/wireless/Kconfig

@@ -136,8 +136,9 @@ comment "Wireless 802.11b ISA/PCI cards support"
 
 
 config IPW2100
 config IPW2100
 	tristate "Intel PRO/Wireless 2100 Network Connection"
 	tristate "Intel PRO/Wireless 2100 Network Connection"
-	depends on NET_RADIO && PCI && IEEE80211
+	depends on NET_RADIO && PCI
 	select FW_LOADER
 	select FW_LOADER
+	select IEEE80211
 	---help---
 	---help---
           A driver for the Intel PRO/Wireless 2100 Network 
           A driver for the Intel PRO/Wireless 2100 Network 
 	  Connection 802.11b wireless network adapter.
 	  Connection 802.11b wireless network adapter.
@@ -189,8 +190,9 @@ config IPW2100_DEBUG
 
 
 config IPW2200
 config IPW2200
 	tristate "Intel PRO/Wireless 2200BG and 2915ABG Network Connection"
 	tristate "Intel PRO/Wireless 2200BG and 2915ABG Network Connection"
-	depends on NET_RADIO && IEEE80211 && PCI
+	depends on NET_RADIO && PCI
 	select FW_LOADER
 	select FW_LOADER
+	select IEEE80211
 	---help---
 	---help---
           A driver for the Intel PRO/Wireless 2200BG and 2915ABG Network
           A driver for the Intel PRO/Wireless 2200BG and 2915ABG Network
 	  Connection adapters. 
 	  Connection adapters.