diff options
Diffstat (limited to 'net/mac80211/mlme.c')
-rw-r--r-- | net/mac80211/mlme.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/net/mac80211/mlme.c b/net/mac80211/mlme.c index 383392b04282..58135a5096af 100644 --- a/net/mac80211/mlme.c +++ b/net/mac80211/mlme.c | |||
@@ -1511,9 +1511,15 @@ static void ieee80211_rx_mgmt_auth(struct ieee80211_sub_if_data *sdata, | |||
1511 | !ieee80211_sta_wep_configured(sdata)) | 1511 | !ieee80211_sta_wep_configured(sdata)) |
1512 | continue; | 1512 | continue; |
1513 | ifmgd->auth_alg = algs[pos]; | 1513 | ifmgd->auth_alg = algs[pos]; |
1514 | break; | 1514 | ifmgd->auth_tries = 0; |
1515 | return; | ||
1515 | } | 1516 | } |
1516 | } | 1517 | } |
1518 | /* nothing else to try -- give up */ | ||
1519 | cfg80211_send_rx_auth(sdata->dev, (u8 *) mgmt, len, | ||
1520 | GFP_KERNEL); | ||
1521 | ifmgd->state = IEEE80211_STA_MLME_DISABLED; | ||
1522 | ieee80211_recalc_idle(sdata->local); | ||
1517 | return; | 1523 | return; |
1518 | } | 1524 | } |
1519 | 1525 | ||