aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/rtlwifi/debug.c
diff options
context:
space:
mode:
authorHelmut Schaa <[email protected]>2012-01-30 14:18:00 +0000
committerJohn W. Linville <[email protected]>2012-01-30 20:48:20 +0000
commit608383bfc04aa222c3e9e896c32f56a5e5deaff0 (patch)
treecb608bbe456f3aaa030f90977f6f9e60f6b2a413 /drivers/net/wireless/rtlwifi/debug.c
parentmac80211: Fix incorrect num_sta_ps decrement in __sta_info_destroy (diff)
downloadkernel-608383bfc04aa222c3e9e896c32f56a5e5deaff0.tar.gz
kernel-608383bfc04aa222c3e9e896c32f56a5e5deaff0.zip
mac80211: Fix incorrect num_sta_ps decrement in ap_sta_ps_end
If the driver blocked this specific STA with the help of ieee80211_sta_block_awake we won't clear WLAN_STA_PS_STA later but still decrement num_sta_ps. Hence, the next data frame from this STA will trigger ap_sta_ps_end again and also decrement num_sta_ps again leading to an incorrect num_sta_ps counter. This can result in problems with powersaving clients not waking up from PS because the TIM calculation might be skipped due to the incorrect num_sta_ps counter. 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