]> git.baikalelectronics.ru Git - kernel.git/commit
ath9k_hw: fix dma descriptor rx error bit parsing
authorFelix Fietkau <nbd@openwrt.org>
Tue, 28 Dec 2010 14:46:16 +0000 (15:46 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 4 Jan 2011 19:43:01 +0000 (14:43 -0500)
commit24ba10c5871d4d7cf651d0a7662482a8701bfcb6
treeaf987d6d649b6dc221e098147b81b8d0523916de
parent9902c942691635f5fe9dfc9a4c6ad7eae83c8ba6
ath9k_hw: fix dma descriptor rx error bit parsing

An Rx DMA descriptor can have multiple error bits set, and some error
bits (e.g. MIC failure) are filtered by the driver based on other criteria.
Remove the 'else' in various error bit checks so that all error information
is properly passed to the driver.

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