]> 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)
commit893a6989c2a6acf7a1bad1abb480b387dff8daad
treee1beaf9b544735af39752afb8aa7b478fe0d96a1
parent6d35afda0615da03ccb1b2bd5d4fe91623b97f59
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