]> git.baikalelectronics.ru Git - kernel.git/commit
ath9k: avoid sending a-mpdu packets to sleeping stations
authorFelix Fietkau <nbd@openwrt.org>
Wed, 10 Aug 2011 21:23:35 +0000 (15:23 -0600)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 12 Aug 2011 17:45:04 +0000 (13:45 -0400)
commit42a1be836c8ad0fb89dbe1dfb59829de57b9db9c
tree1f77aeb3ed6ca2057c3444fb1d25c7e65752f7e7
parentad349545ef1783cf50cf6e743292a7a46d3a6177
ath9k: avoid sending a-mpdu packets to sleeping stations

If the driver gets a tx status report for an A-MPDU sent to a station that
just went to sleep, that leaves a race condition where this tx status can
trigger another A-MPDU transmission.
To fix this, check if the station is sleeping before queueing the tid.

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/xmit.c