]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - net/ieee80211/ieee80211_wx.c
ieee80211: remove last uses of compat define WLAN_CAPABILITY_BSS
[linux-2.6-omap-h63xx.git] / net / ieee80211 / ieee80211_wx.c
index 25a868c2e2f78130fb73eb495d3c14cff503af74..2cd571c525a96cb4cad449f731479b15e582d972 100644 (file)
@@ -77,8 +77,8 @@ static inline char *ipw2100_translate_scan(struct ieee80211_device *ieee,
         /* Add mode */
         iwe.cmd = SIOCGIWMODE;
         if (network->capability &
-           (WLAN_CAPABILITY_BSS | WLAN_CAPABILITY_IBSS)) {
-               if (network->capability & WLAN_CAPABILITY_BSS)
+           (WLAN_CAPABILITY_ESS | WLAN_CAPABILITY_IBSS)) {
+               if (network->capability & WLAN_CAPABILITY_ESS)
                        iwe.u.mode = IW_MODE_MASTER;
                else
                        iwe.u.mode = IW_MODE_ADHOC;