]> git.baikalelectronics.ru Git - kernel.git/commit
ath9k: fix missed error codes in the tx status check
authorFelix Fietkau <nbd@openwrt.org>
Thu, 24 Dec 2009 13:04:32 +0000 (14:04 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 28 Dec 2009 21:20:03 +0000 (16:20 -0500)
commitdc97a516ca4f53165f4338e725a904e3c1c4e97c
tree264300dd31c6d85aae457d7a9f1ba7ed00821479
parentb5d5dc4f8b4ba7bc06ebfa4685f5da6bf145a892
ath9k: fix missed error codes in the tx status check

My previous change added in:

 commit d9bb675a6a4f81a4632a20cbafd98c3fb1b6822f
    ath9k: fix tx status reporting

was not checking all possible tx error conditions. This could possibly
lead to throughput issues due to slow rate control adaption or missed
retransmissions of failed A-MPDU frames.

This patch adds a mask for all possible error conditions and uses it
in the xmit ok check.

Cc: stable@kernel.org
Reported-by: Björn Smedman <bjorn.smedman@venatech.se>
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/mac.h
drivers/net/wireless/ath/ath9k/xmit.c