summaryrefslogtreecommitdiffstats
path: root/net/mac80211/mlme.c
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2011-11-17 16:23:29 +0100
committerJohn W. Linville <linville@tuxdriver.com>2011-11-21 16:20:43 -0500
commitfb4431bf608fe135ba743ecdd0aa084a3569992f (patch)
treef16229e4723848d9280219f2b8d1faa9f513b222 /net/mac80211/mlme.c
parent11127e9121d4dd9da868cf0fd89dcac35f7f0fa3 (diff)
downloadop-kernel-dev-fb4431bf608fe135ba743ecdd0aa084a3569992f.zip
op-kernel-dev-fb4431bf608fe135ba743ecdd0aa084a3569992f.tar.gz
mac80211: remove unused ASSOC_AP flag
WLAN_STA_ASSOC_AP indicates that the station entry is for an AP we're associated to but isn't used so remove it. Signed-off-by: Johannes Berg <johannes.berg@intel.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/mac80211/mlme.c')
-rw-r--r--net/mac80211/mlme.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/net/mac80211/mlme.c b/net/mac80211/mlme.c
index da17c30..0f58122 100644
--- a/net/mac80211/mlme.c
+++ b/net/mac80211/mlme.c
@@ -1574,7 +1574,6 @@ static bool ieee80211_assoc_success(struct ieee80211_work *wk,
set_sta_flag(sta, WLAN_STA_AUTH);
set_sta_flag(sta, WLAN_STA_ASSOC);
- set_sta_flag(sta, WLAN_STA_ASSOC_AP);
if (!(ifmgd->flags & IEEE80211_STA_CONTROL_PORT))
set_sta_flag(sta, WLAN_STA_AUTHORIZED);
OpenPOWER on IntegriCloud