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)
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>

No differences found