ath9k: fix typo in last commit
authorFelix Fietkau <nbd@openwrt.org>
Mon, 4 Jun 2012 13:46:29 +0000 (13:46 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Mon, 4 Jun 2012 13:46:29 +0000 (13:46 +0000)
SVN-Revision: 32046

package/mac80211/patches/571-ath9k_ani_fix_weak_sig.patch

index bfe0f0b46ff9774ad8fa65715a8da116cbddb00f..12d7cda59aedddd8195e482e91eeca3be1c356a9 100644 (file)
@@ -17,7 +17,7 @@
 -           entry_ofdm->ofdm_weak_signal_on)) {
 +      weak_sig = entry_ofdm->ofdm_weak_signal_on;
 +      if (ah->opmode == NL80211_IFTYPE_STATION &&
-+          BEACON_RSSI(ah) >= aniState->rssiThrHigh)
++          BEACON_RSSI(ah) <= aniState->rssiThrHigh)
 +              weak_sig = true;
 +
 +      if (!aniState->ofdmWeakSigDetectOff != weak_sig)