Helmut Schaa
2ab694d302
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 <helmut.schaa@googlemail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2012-01-30 15:48:18 -05:00
..
2011-07-08 11:11:24 -04:00
2011-07-08 11:11:24 -04:00
2011-07-08 11:11:24 -04:00
2011-07-08 11:11:20 -04:00
2012-01-12 12:26:56 -08:00
2011-12-19 14:31:37 -05:00
2012-01-30 15:41:25 -05:00
2007-10-10 16:52:34 -07:00
2012-01-24 14:08:39 -05:00
2011-07-08 11:11:20 -04:00
2010-12-13 15:23:29 -05:00
2012-01-27 14:56:56 -05:00
2009-12-21 18:38:52 -05:00
2012-01-30 15:41:25 -05:00
2008-03-06 15:30:46 -05:00
2012-01-27 14:56:54 -05:00
2010-11-15 13:24:48 -05:00
2011-11-28 14:43:52 -05:00
2009-08-04 16:43:25 -04:00
2011-11-28 14:44:09 -05:00
2009-07-10 15:01:49 -04:00
2011-12-15 14:46:35 -05:00
2012-01-30 15:41:25 -05:00
2012-01-24 14:08:39 -05:00
2012-01-30 15:41:25 -05:00
2011-11-28 14:44:09 -05:00
2011-11-22 14:05:46 -05:00
2011-07-13 14:49:43 -04:00
2011-10-31 19:30:30 -04:00
2010-12-22 14:33:37 -05:00
2012-01-24 14:21:11 -05:00
2011-11-28 14:44:09 -05:00
2012-01-27 14:56:56 -05:00
2011-11-28 14:44:07 -05:00
2012-01-30 15:41:25 -05:00
2011-11-28 14:44:06 -05:00
2011-11-28 14:44:07 -05:00
2008-07-08 14:16:01 -04:00
2008-07-08 14:16:01 -04:00
2012-01-30 15:41:25 -05:00
2012-01-04 14:31:47 -05:00
2011-11-09 16:01:02 -05:00
2012-01-24 14:21:55 -05:00
2012-01-24 14:21:55 -05:00
2011-10-31 19:30:30 -04:00
2011-10-31 19:30:30 -04:00
2011-11-17 15:43:58 -05:00
2010-06-24 15:42:18 -04:00
2011-11-11 12:32:52 -05:00
2011-06-01 15:12:29 -04:00
2011-12-19 22:27:29 -05:00
2011-10-31 19:30:30 -04:00
2011-03-31 11:26:23 -03:00
2012-01-27 14:56:55 -05:00
2012-01-05 10:13:24 -05:00
2011-09-13 15:45:02 -04:00
2012-01-30 15:48:18 -05:00
2012-01-30 15:41:25 -05:00
2012-01-27 14:56:55 -05:00
2011-10-31 19:30:30 -04:00
2011-07-08 11:11:19 -04:00
2012-01-16 15:01:16 -05:00
2012-01-27 14:57:05 -05:00
2011-11-21 16:20:42 -05:00
2011-04-04 16:20:00 -04:00
2011-11-28 14:44:05 -05:00
2011-11-28 14:44:05 -05:00
2012-01-24 14:08:39 -05:00
2012-01-16 15:01:16 -05:00
2012-01-16 15:01:16 -05:00