|
@@ -2627,11 +2627,10 @@ static int iwl_mvm_mac_sta_state(struct ieee80211_hw *hw,
|
|
mvmvif->ap_assoc_sta_count++;
|
|
mvmvif->ap_assoc_sta_count++;
|
|
iwl_mvm_mac_ctxt_changed(mvm, vif, false, NULL);
|
|
iwl_mvm_mac_ctxt_changed(mvm, vif, false, NULL);
|
|
}
|
|
}
|
|
|
|
+
|
|
|
|
+ iwl_mvm_rs_rate_init(mvm, sta, mvmvif->phy_ctxt->channel->band,
|
|
|
|
+ true);
|
|
ret = iwl_mvm_update_sta(mvm, vif, sta);
|
|
ret = iwl_mvm_update_sta(mvm, vif, sta);
|
|
- if (ret == 0)
|
|
|
|
- iwl_mvm_rs_rate_init(mvm, sta,
|
|
|
|
- mvmvif->phy_ctxt->channel->band,
|
|
|
|
- true);
|
|
|
|
} else if (old_state == IEEE80211_STA_ASSOC &&
|
|
} else if (old_state == IEEE80211_STA_ASSOC &&
|
|
new_state == IEEE80211_STA_AUTHORIZED) {
|
|
new_state == IEEE80211_STA_AUTHORIZED) {
|
|
|
|
|