summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwlwifi/mvm/d3.c
diff options
context:
space:
mode:
authorJohannes Berg2013-02-12 13:10:44 +0100
committerJohannes Berg2013-02-12 16:52:26 +0100
commit7a4539736eaeecb6bec25a718492fed6377a23af (patch)
treee1beaf9b544735af39752afb8aa7b478fe0d96a1 /drivers/net/wireless/iwlwifi/mvm/d3.c
parentiwlwifi: mvm: don't wait for session protection to start (diff)
downloadkernel-qcow2-linux-7a4539736eaeecb6bec25a718492fed6377a23af.tar.gz
kernel-qcow2-linux-7a4539736eaeecb6bec25a718492fed6377a23af.tar.xz
kernel-qcow2-linux-7a4539736eaeecb6bec25a718492fed6377a23af.zip
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.c2
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,
return -EIO;
}
- ret = iwl_mvm_sta_add_to_fw(mvm, ap_sta);
+ ret = iwl_mvm_sta_send_to_fw(mvm, ap_sta, false);
if (ret)
return ret;
rcu_assign_pointer(mvm->fw_id_to_mac_id[mvmvif->ap_sta_id], ap_sta);