tree 45c295e640707d44ad30100698e8df2b50012612
parent 2474385e5b623fc46cf172a921d94f9f03a9a704
author Jeff Garzik <[EMAIL PROTECTED]> Mon, 15 Aug 2005 08:32:15 -0400
committer Jeff Garzik <[EMAIL PROTECTED]> Mon, 15 Aug 2005 08:32:15 -0400

ieee80211: remove last uses of compat define WLAN_CAPABILITY_BSS

 include/net/ieee80211.h      |    1 -
 net/ieee80211/ieee80211_wx.c |    4 ++--
 2 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/include/net/ieee80211.h b/include/net/ieee80211.h
--- a/include/net/ieee80211.h
+++ b/include/net/ieee80211.h
@@ -265,7 +265,6 @@ struct ieee80211_snap_hdr {
 #define WLAN_AUTH_CHALLENGE_LEN 128
 
 #define WLAN_CAPABILITY_ESS (1<<0)
-#define WLAN_CAPABILITY_BSS WLAN_CAPABILITY_ESS
 #define WLAN_CAPABILITY_IBSS (1<<1)
 #define WLAN_CAPABILITY_CF_POLLABLE (1<<2)
 #define WLAN_CAPABILITY_CF_POLL_REQUEST (1<<3)
diff --git a/net/ieee80211/ieee80211_wx.c b/net/ieee80211/ieee80211_wx.c
--- a/net/ieee80211/ieee80211_wx.c
+++ b/net/ieee80211/ieee80211_wx.c
@@ -77,8 +77,8 @@ static inline char *ipw2100_translate_sc
         /* 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;
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to