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.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/net/mac80211/ieee80211_sta.c b/net/mac80211/ieee80211_sta.c
index 9aee1abae127..8e6548974a9f 100644
--- a/net/mac80211/ieee80211_sta.c
+++ b/net/mac80211/ieee80211_sta.c
@@ -1187,8 +1187,10 @@ static void ieee80211_rx_mgmt_assoc_resp(struct net_device *dev,
1187 if (status_code != WLAN_STATUS_SUCCESS) { 1187 if (status_code != WLAN_STATUS_SUCCESS) {
1188 printk(KERN_DEBUG "%s: AP denied association (code=%d)\n", 1188 printk(KERN_DEBUG "%s: AP denied association (code=%d)\n",
1189 dev->name, status_code); 1189 dev->name, status_code);
1190 if (status_code == WLAN_STATUS_REASSOC_NO_ASSOC) 1190 /* if this was a reassociation, ensure we try a "full"
1191 ifsta->prev_bssid_set = 0; 1191 * association next time. This works around some broken APs
1192 * which do not correctly reject reassociation requests. */
1193 ifsta->prev_bssid_set = 0;
1192 return; 1194 return;
1193 } 1195 }
1194 1196