diff options
author | Felix Fietkau <nbd@openwrt.org> | 2012-06-15 15:25:21 +0200 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2012-06-20 20:44:42 +0200 |
commit | 7067e7014d7013645f7e866b74814f1e59e6a7cd (patch) | |
tree | 627c388e4dff0f4053f1cbc62879c1fe65b871d9 /drivers/net/wireless/ath/ath9k/ani.h | |
parent | ath9k_hw: fix OFDM weak signal detection handling (diff) | |
download | linux-7067e7014d7013645f7e866b74814f1e59e6a7cd.tar.xz linux-7067e7014d7013645f7e866b74814f1e59e6a7cd.zip |
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.h | 2 |
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; |