summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/ath/ath9k/ani.h
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2012-06-15 15:25:21 +0200
committerJohn W. Linville <linville@tuxdriver.com>2012-06-20 14:44:42 -0400
commit7067e7014d7013645f7e866b74814f1e59e6a7cd (patch)
tree627c388e4dff0f4053f1cbc62879c1fe65b871d9 /drivers/net/wireless/ath/ath9k/ani.h
parent0b81cc3922bce79d0f21189648bf4f9992e9a533 (diff)
ath9k_hw: remove confusing logic inversion in an ANI variable
Code using this had already triggered smatch complaints, so remove it before it gets fixed the wrong way. Signed-off-by: Felix Fietkau <nbd@openwrt.org> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/ani.h')
-rw-r--r--drivers/net/wireless/ath/ath9k/ani.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath/ath9k/ani.h b/drivers/net/wireless/ath/ath9k/ani.h
index c04d167725f5..2ed848fdf08b 100644
--- a/drivers/net/wireless/ath/ath9k/ani.h
+++ b/drivers/net/wireless/ath/ath9k/ani.h
@@ -122,7 +122,7 @@ struct ar5416AniState {
u8 mrcCCKOff;
u8 spurImmunityLevel;
u8 firstepLevel;
- u8 ofdmWeakSigDetectOff;
+ u8 ofdmWeakSigDetect;
u8 cckWeakSigThreshold;
bool update_ani;
u32 listenTime;