]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
iwlwifi: mvm: update station when marked associated
authorJohannes Berg <johannes.berg@intel.com>
Tue, 12 Feb 2013 12:10:44 +0000 (13:10 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Tue, 12 Feb 2013 15:52:26 +0000 (16:52 +0100)
commit7a4539736eaeecb6bec25a718492fed6377a23af
treee1beaf9b544735af39752afb8aa7b478fe0d96a1
parentffdf968d878f85620c1d4685b9543f894ef56db0
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>
drivers/net/wireless/iwlwifi/mvm/d3.c
drivers/net/wireless/iwlwifi/mvm/mac80211.c
drivers/net/wireless/iwlwifi/mvm/sta.c
drivers/net/wireless/iwlwifi/mvm/sta.h