]> git.baikalelectronics.ru Git - kernel.git/commit
ath9k: fix regression in sending aggregated packets
authorFelix Fietkau <nbd@openwrt.org>
Sat, 27 Aug 2011 08:25:27 +0000 (10:25 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 29 Aug 2011 19:33:02 +0000 (15:33 -0400)
commite9d415a991974025a965e927ae36c18348bec673
treee1fe6498724dece130c1df5c7e02879bcb3b18b1
parent42a9749b1940fe493372788e189c7b3ab938b57e
ath9k: fix regression in sending aggregated packets

The recent commit "ath9k: Send legacy rated frames as unaggregated"
introduced a check to ensure that packets with non-MCS rates set in
the rate series will not be aggregated. However, it failed to check
if the rate series is valid before testing the flags, thus breaking
aggregation for normal MCS-only packets if the last series is unset.

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