ath9k: decouple RX error checking for DFS
authorZefir Kurtisi <zefir.kurtisi@neratec.com>
Mon, 27 Feb 2012 11:52:06 +0000 (12:52 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 29 Feb 2012 19:14:56 +0000 (14:14 -0500)
commitf4fb4b212d2668f831918023bc3ca451997faee6
treefa186429022d120b43eb6b30074e8efeeb453b89
parentaef6a62d8b517f7472105971d5e221ef55a320be
ath9k: decouple RX error checking for DFS

Previous RX error checking was done exclusive-or for different error
types and caused DFS pulse events to be dropped when other error
flags (e.g. CRC) were set simultaneously.

This patch decouples PHY error processing from other types and ensures
that all pulses detected by HW are accounted by the pattern detector.

Signed-off-by: Zefir Kurtisi <zefir.kurtisi@neratec.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/ar9003_mac.c