aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/rtlwifi/debug.c
diff options
context:
space:
mode:
authorHelmut Schaa <[email protected]>2012-01-27 10:02:51 +0000
committerJohn W. Linville <[email protected]>2012-01-30 20:48:18 +0000
commit2ab694d302b489c5aa49c360dc97149b77c96586 (patch)
tree18ff458004469014eaafe24618a9bdd45a11d780 /drivers/net/wireless/rtlwifi/debug.c
parentmac80211: station state transition error handling (diff)
downloadkernel-2ab694d302b489c5aa49c360dc97149b77c96586.tar.gz
kernel-2ab694d302b489c5aa49c360dc97149b77c96586.zip
mac80211: Fix incorrect num_sta_ps decrement in __sta_info_destroy
When WLAN_STA_PS_DRIVER is set by ieee80211_sta_block_awake the num_sta_ps counter is not incremented. Hence, we shouldn't decrement it in __sta_info_destroy if only WLAN_STA_PS_DRIVER is set. This could result in an incorrect num_sta_ps counter leading to strange side effects with associated powersaving clients. Fix this by only decrementing num_sta_ps when WLAN_STA_PS_STA was set before. Signed-off-by: Helmut Schaa <[email protected]> Signed-off-by: John W. Linville <[email protected]>
Diffstat (limited to 'drivers/net/wireless/rtlwifi/debug.c')
0 files changed, 0 insertions, 0 deletions