]> 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)
commit396d88343b62ab5a28276db803bde450410bd50c
tree1f77aeb3ed6ca2057c3444fb1d25c7e65752f7e7
parentd3249e1a76e8fc77ba76ed90d7cee9407bc9b915
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