ath9k: fix typo in last commit

SVN-Revision: 32046
This commit is contained in:
Felix Fietkau 2012-06-04 13:46:29 +00:00
parent c9e36f4709
commit 8b0d6b2477

View file

@ -17,7 +17,7 @@
- entry_ofdm->ofdm_weak_signal_on)) { - entry_ofdm->ofdm_weak_signal_on)) {
+ weak_sig = entry_ofdm->ofdm_weak_signal_on; + weak_sig = entry_ofdm->ofdm_weak_signal_on;
+ if (ah->opmode == NL80211_IFTYPE_STATION && + if (ah->opmode == NL80211_IFTYPE_STATION &&
+ BEACON_RSSI(ah) >= aniState->rssiThrHigh) + BEACON_RSSI(ah) <= aniState->rssiThrHigh)
+ weak_sig = true; + weak_sig = true;
+ +
+ if (!aniState->ofdmWeakSigDetectOff != weak_sig) + if (!aniState->ofdmWeakSigDetectOff != weak_sig)