|
@@ -2212,9 +2212,7 @@ static bool ieee80211_assoc_success(struct ieee80211_sub_if_data *sdata,
|
|
|
if (elems.wmm_param)
|
|
|
set_sta_flag(sta, WLAN_STA_WME);
|
|
|
|
|
|
- err = sta_info_move_state(sta, IEEE80211_STA_AUTH);
|
|
|
- if (!err)
|
|
|
- err = sta_info_move_state(sta, IEEE80211_STA_ASSOC);
|
|
|
+ err = sta_info_move_state(sta, IEEE80211_STA_ASSOC);
|
|
|
if (!err && !(ifmgd->flags & IEEE80211_STA_CONTROL_PORT))
|
|
|
err = sta_info_move_state(sta, IEEE80211_STA_AUTHORIZED);
|
|
|
if (err) {
|