summaryrefslogtreecommitdiffstats
path: root/net/ieee80211/ieee80211_wx.c
diff options
context:
space:
mode:
authorJeff Garzik <jgarzik@pobox.com>2005-08-15 06:32:15 +0200
committerJeff Garzik <jgarzik@pobox.com>2005-08-15 06:32:15 +0200
commit1b5cca3a88b7682d538d129c25f0e3092613a243 (patch)
tree45c295e640707d44ad30100698e8df2b50012612 /net/ieee80211/ieee80211_wx.c
parent[PATCH] ieee80211: Capability field is called ESS, not BSS (diff)
downloadlinux-1b5cca3a88b7682d538d129c25f0e3092613a243.tar.xz
linux-1b5cca3a88b7682d538d129c25f0e3092613a243.zip
ieee80211: remove last uses of compat define WLAN_CAPABILITY_BSS
Diffstat (limited to 'net/ieee80211/ieee80211_wx.c')
-rw-r--r--net/ieee80211/ieee80211_wx.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/ieee80211/ieee80211_wx.c b/net/ieee80211/ieee80211_wx.c
index 25a868c2e2f7..2cd571c525a9 100644
--- a/net/ieee80211/ieee80211_wx.c
+++ b/net/ieee80211/ieee80211_wx.c
@@ -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;