summaryrefslogtreecommitdiffstats
path: root/package/mac80211/patches/573-ath9k_ani_fix_mode_checks.patch
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2012-06-18 01:26:36 +0000
committerFelix Fietkau <nbd@openwrt.org>2012-06-18 01:26:36 +0000
commit33600679329458db7a0d258f3985daa52d98bf75 (patch)
tree9c5f6766d736f534cb39faa25b00a9b126d26f94 /package/mac80211/patches/573-ath9k_ani_fix_mode_checks.patch
parentc73b39fd302245a47813d1a41a082df7b82c45fb (diff)
downloadmaster-31e0f0ae-33600679329458db7a0d258f3985daa52d98bf75.tar.gz
master-31e0f0ae-33600679329458db7a0d258f3985daa52d98bf75.tar.bz2
master-31e0f0ae-33600679329458db7a0d258f3985daa52d98bf75.zip
mac80211: update to wireless-testing 2012-06-14
SVN-Revision: 32420
Diffstat (limited to 'package/mac80211/patches/573-ath9k_ani_fix_mode_checks.patch')
-rw-r--r--package/mac80211/patches/573-ath9k_ani_fix_mode_checks.patch49
1 files changed, 0 insertions, 49 deletions
diff --git a/package/mac80211/patches/573-ath9k_ani_fix_mode_checks.patch b/package/mac80211/patches/573-ath9k_ani_fix_mode_checks.patch
deleted file mode 100644
index 7596996141..0000000000
--- a/package/mac80211/patches/573-ath9k_ani_fix_mode_checks.patch
+++ /dev/null
@@ -1,49 +0,0 @@
---- a/drivers/net/wireless/ath/ath9k/ani.c
-+++ b/drivers/net/wireless/ath/ath9k/ani.c
-@@ -176,7 +176,7 @@ static void ath9k_hw_ani_ofdm_err_trigge
- }
- }
-
-- if (ah->opmode == NL80211_IFTYPE_AP) {
-+ if (ah->opmode != NL80211_IFTYPE_STATION) {
- if (aniState->firstepLevel < HAL_FIRST_STEP_MAX) {
- ath9k_hw_ani_control(ah, ATH9K_ANI_FIRSTEP_LEVEL,
- aniState->firstepLevel + 1);
-@@ -236,7 +236,7 @@ static void ath9k_hw_ani_cck_err_trigger
- return;
- }
- }
-- if (ah->opmode == NL80211_IFTYPE_AP) {
-+ if (ah->opmode != NL80211_IFTYPE_STATION) {
- if (aniState->firstepLevel < HAL_FIRST_STEP_MAX) {
- ath9k_hw_ani_control(ah, ATH9K_ANI_FIRSTEP_LEVEL,
- aniState->firstepLevel + 1);
-@@ -335,8 +335,7 @@ static void ath9k_hw_set_cck_nil(struct
- BEACON_RSSI(ah), aniState->rssiThrLow,
- aniState->rssiThrHigh);
-
-- if ((ah->opmode == NL80211_IFTYPE_STATION ||
-- ah->opmode == NL80211_IFTYPE_ADHOC) &&
-+ if (ah->opmode == NL80211_IFTYPE_STATION &&
- BEACON_RSSI(ah) <= aniState->rssiThrLow &&
- immunityLevel > ATH9K_ANI_CCK_MAX_LEVEL_LOW_RSSI)
- immunityLevel = ATH9K_ANI_CCK_MAX_LEVEL_LOW_RSSI;
-@@ -390,7 +389,7 @@ static void ath9k_hw_ani_lower_immunity_
-
- aniState = &ah->curchan->ani;
-
-- if (ah->opmode == NL80211_IFTYPE_AP) {
-+ if (ah->opmode != NL80211_IFTYPE_STATION) {
- if (aniState->firstepLevel > 0) {
- if (ath9k_hw_ani_control(ah, ATH9K_ANI_FIRSTEP_LEVEL,
- aniState->firstepLevel - 1))
-@@ -474,8 +473,7 @@ static void ath9k_ani_reset_old(struct a
-
- aniState = &ah->curchan->ani;
-
-- if (ah->opmode != NL80211_IFTYPE_STATION
-- && ah->opmode != NL80211_IFTYPE_ADHOC) {
-+ if (ah->opmode != NL80211_IFTYPE_STATION) {
- ath_dbg(common, ANI, "Reset ANI state opmode %u\n", ah->opmode);
- ah->stats.ast_ani_reset++;
-