aboutsummaryrefslogtreecommitdiffstats
path: root/net/mac80211/ieee80211_sta.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/mac80211/ieee80211_sta.c')
-rw-r--r--net/mac80211/ieee80211_sta.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/net/mac80211/ieee80211_sta.c b/net/mac80211/ieee80211_sta.c
index f98b2e1cedf3..1b4ebe81191c 100644
--- a/net/mac80211/ieee80211_sta.c
+++ b/net/mac80211/ieee80211_sta.c
@@ -1279,8 +1279,7 @@ static void ieee80211_rx_mgmt_assoc_resp(struct net_device *dev,
1279 } 1279 }
1280 1280
1281 sta->dev = dev; 1281 sta->dev = dev;
1282 sta->flags |= WLAN_STA_AUTH | WLAN_STA_ASSOC; 1282 sta->flags |= WLAN_STA_AUTH | WLAN_STA_ASSOC | WLAN_STA_ASSOC_AP;
1283 sta->assoc_ap = 1;
1284 1283
1285 rates = 0; 1284 rates = 0;
1286 mode = local->oper_hw_mode; 1285 mode = local->oper_hw_mode;