wireless: fix CFG80211_WEXT build problems
authorRandy Dunlap <randy.dunlap@oracle.com>
Tue, 6 Oct 2009 20:27:29 +0000 (13:27 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 7 Oct 2009 20:39:49 +0000 (16:39 -0400)
Fix CFG80211_WEXT build dependencies/errors:

ERROR: "cfg80211_wext_siwscan" [drivers/net/wireless/orinoco/orinoco.ko] undefined!
ERROR: "cfg80211_wext_siwmode" [drivers/net/wireless/orinoco/orinoco.ko] undefined!
ERROR: "cfg80211_wext_giwrange" [drivers/net/wireless/orinoco/orinoco.ko] undefined!
ERROR: "cfg80211_wext_giwmode" [drivers/net/wireless/orinoco/orinoco.ko] undefined!
ERROR: "cfg80211_wext_giwname" [drivers/net/wireless/orinoco/orinoco.ko] undefined!
ERROR: "cfg80211_wext_giwscan" [drivers/net/wireless/orinoco/orinoco.ko] undefined!
ERROR: "cfg80211_wext_giwname" [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
drivers/net/wireless/orinoco/Kconfig

index 56fab79dc365e2a2518aea073b4957f6423c5388..59ec9eec50248c739091a72f508e874d0bf50572 100644 (file)
@@ -65,7 +65,7 @@ config IPW2100_DEBUG
 
 config IPW2200
        tristate "Intel PRO/Wireless 2200BG and 2915ABG Network Connection"
 
 config IPW2200
        tristate "Intel PRO/Wireless 2200BG and 2915ABG Network Connection"
-       depends on PCI && WLAN_80211 && CFG80211
+       depends on PCI && WLAN_80211 && CFG80211 && CFG80211_WEXT
        select WIRELESS_EXT
        select WEXT_SPY
        select WEXT_PRIV
        select WIRELESS_EXT
        select WEXT_SPY
        select WEXT_PRIV
index 13b03b3e8fcebc32607c64f114204ccf693f666f..dce652054afde195f759cc2ca5f91a5b63945737 100644 (file)
@@ -1,7 +1,7 @@
 config HERMES
        tristate "Hermes chipset 802.11b support (Orinoco/Prism2/Symbol)"
        depends on (PPC_PMAC || PCI || PCMCIA) && WLAN_80211
 config HERMES
        tristate "Hermes chipset 802.11b support (Orinoco/Prism2/Symbol)"
        depends on (PPC_PMAC || PCI || PCMCIA) && WLAN_80211
-       depends on CFG80211
+       depends on CFG80211 && CFG80211_WEXT
        select WIRELESS_EXT
        select WEXT_SPY
        select WEXT_PRIV
        select WIRELESS_EXT
        select WEXT_SPY
        select WEXT_PRIV