ipw2200: fix kconfig dependencies
authorRandy Dunlap <randy.dunlap@oracle.com>
Sun, 30 Aug 2009 20:22:57 +0000 (13:22 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 31 Aug 2009 18:42:14 +0000 (14:42 -0400)
Fix kconfig dependencies for ipw2x00 drivers, fixes build errors:

ERROR: "wiphy_free" [drivers/net/wireless/ipw2x00/libipw.ko] undefined!
ERROR: "wiphy_unregister" [drivers/net/wireless/ipw2x00/libipw.ko] undefined!
ERROR: "wiphy_new" [drivers/net/wireless/ipw2x00/libipw.ko] undefined!
ERROR: "cfg80211_wext_giwname" [drivers/net/wireless/ipw2x00/ipw2200.ko] undefined!
ERROR: "wiphy_register" [drivers/net/wireless/ipw2x00/ipw2200.ko] undefined!

Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ipw2x00/Kconfig

index 85cc79995f6f9d853cad49f53e39d6600a70b045..a8131384c6b9fbea831ce00d7f37d2bc1ec5b58b 100644 (file)
@@ -4,7 +4,7 @@
 
 config IPW2100
        tristate "Intel PRO/Wireless 2100 Network Connection"
-       depends on PCI && WLAN_80211
+       depends on PCI && WLAN_80211 && CFG80211
        select WIRELESS_EXT
        select FW_LOADER
        select LIB80211
@@ -63,7 +63,7 @@ config IPW2100_DEBUG
 
 config IPW2200
        tristate "Intel PRO/Wireless 2200BG and 2915ABG Network Connection"
-       depends on PCI && WLAN_80211
+       depends on PCI && WLAN_80211 && CFG80211
        select WIRELESS_EXT
        select FW_LOADER
        select LIB80211
@@ -150,7 +150,7 @@ config IPW2200_DEBUG
 
 config LIBIPW
        tristate
-       depends on PCI && WLAN_80211
+       depends on PCI && WLAN_80211 && CFG80211
        select WIRELESS_EXT
        select CRYPTO
        select CRYPTO_ARC4