]> git.baikalelectronics.ru Git - kernel.git/commit
iwlwifi: mvm: Change number of associated stations when station becomes associated
authorAyala Beker <ayala.beker@intel.com>
Tue, 15 Dec 2015 22:32:07 +0000 (00:32 +0200)
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Sun, 20 Dec 2015 21:27:43 +0000 (23:27 +0200)
commit076075787c8c082dfdb224bdd87ee4959dd55445
tree774e03fe5f82b396d634e44eb195fcd82d6df59e
parentfb2e96a68bb7becac0950559b7eb70e83663041b
iwlwifi: mvm: Change number of associated stations when station becomes associated

Currently, the number of associated stations gets updated when adding
a new station or removing it. This is incorrect as it's possible that
a station was inserted before it was associated
Fix this by increasing/decreasing ap_assoc_sta_count whenever
a station transitions in/out the associated state.

Signed-off-by: Ayala Beker <ayala.beker@intel.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c
drivers/net/wireless/intel/iwlwifi/mvm/sta.c