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)
commit8be30c13ebafdf743ab638a83095715a01bc1071
tree774e03fe5f82b396d634e44eb195fcd82d6df59e
parent8d0e4f8f737d808b9fa296813470f34559a9ac00
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
This page took 0.050898 seconds and 5 git commands to generate.