diff options
author | Johannes Berg <johannes.berg@intel.com> | 2013-02-12 07:10:44 -0500 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2013-02-12 10:52:26 -0500 |
commit | 7a4539736eaeecb6bec25a718492fed6377a23af (patch) | |
tree | e1beaf9b544735af39752afb8aa7b478fe0d96a1 /drivers/net/wireless/iwlwifi/mvm/d3.c | |
parent | ffdf968d878f85620c1d4685b9543f894ef56db0 (diff) |
iwlwifi: mvm: update station when marked associated
In managed mode, the HT/VHT capabilities aren't set when
the station is initially added, so update the station
when it is marked associated. In AP/GO mode, the station
will typically be added with full capabilities today,
but an upcoming change in hostapd may mean a similar
scenario as for managed mode, therefore do the update
unconditionally.
Reviewed-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/mvm/d3.c')
-rw-r--r-- | drivers/net/wireless/iwlwifi/mvm/d3.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/iwlwifi/mvm/d3.c b/drivers/net/wireless/iwlwifi/mvm/d3.c index a00267f6bc05..c64d864799cd 100644 --- a/drivers/net/wireless/iwlwifi/mvm/d3.c +++ b/drivers/net/wireless/iwlwifi/mvm/d3.c | |||
@@ -490,7 +490,7 @@ static int iwl_mvm_d3_reprogram(struct iwl_mvm *mvm, struct ieee80211_vif *vif, | |||
490 | return -EIO; | 490 | return -EIO; |
491 | } | 491 | } |
492 | 492 | ||
493 | ret = iwl_mvm_sta_add_to_fw(mvm, ap_sta); | 493 | ret = iwl_mvm_sta_send_to_fw(mvm, ap_sta, false); |
494 | if (ret) | 494 | if (ret) |
495 | return ret; | 495 | return ret; |
496 | rcu_assign_pointer(mvm->fw_id_to_mac_id[mvmvif->ap_sta_id], ap_sta); | 496 | rcu_assign_pointer(mvm->fw_id_to_mac_id[mvmvif->ap_sta_id], ap_sta); |