]> git.baikalelectronics.ru Git - 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)
commita84630bc587469a4e84be60c8defdad9d2475ac0
treee1beaf9b544735af39752afb8aa7b478fe0d96a1
parentd3487472f7c362982c85a31b53c518e0390c44b6
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