]> git.proxmox.com Git - mirror_ubuntu-disco-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)
commit1c30cc19081c16b1fe73ac13f2cb2abc009cdcc4
treeaf987d6d649b6dc221e098147b81b8d0523916de
parent1e1f4ad25fab29ca48b1166e74a81e9c89ddf0fb
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