aboutsummaryrefslogtreecommitdiffstats
path: root/package/mac80211/patches/531-ath9k_cur_txpower.patch
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2012-02-27 16:23:43 +0000
committerFelix Fietkau <nbd@openwrt.org>2012-02-27 16:23:43 +0000
commitcd42fa4d5093aab11365079b769a6c6576ba23fe (patch)
tree317bfad60ab172b9f99ac52e96264c0d77a2a89f /package/mac80211/patches/531-ath9k_cur_txpower.patch
parent639660f57c220bbb929ba1210dba0a6d8e43bbfb (diff)
downloadupstream-cd42fa4d5093aab11365079b769a6c6576ba23fe.tar.gz
upstream-cd42fa4d5093aab11365079b769a6c6576ba23fe.tar.bz2
upstream-cd42fa4d5093aab11365079b769a6c6576ba23fe.zip
mac80211: update to wireless-testing 2012-02-23
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30742 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/mac80211/patches/531-ath9k_cur_txpower.patch')
-rw-r--r--package/mac80211/patches/531-ath9k_cur_txpower.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/package/mac80211/patches/531-ath9k_cur_txpower.patch b/package/mac80211/patches/531-ath9k_cur_txpower.patch
index 8fdd436cd9..35de441036 100644
--- a/package/mac80211/patches/531-ath9k_cur_txpower.patch
+++ b/package/mac80211/patches/531-ath9k_cur_txpower.patch
@@ -1,6 +1,6 @@
--- a/drivers/net/wireless/ath/ath9k/main.c
+++ b/drivers/net/wireless/ath/ath9k/main.c
-@@ -1683,6 +1683,8 @@ int ath9k_config(struct ieee80211_hw *hw
+@@ -1673,6 +1673,8 @@ int ath9k_config(struct ieee80211_hw *hw
return -EINVAL;
}
@@ -9,7 +9,7 @@
/*
* The most recent snapshot of channel->noisefloor for the old
* channel is only available after the hardware reset. Copy it to
-@@ -1697,6 +1699,7 @@ int ath9k_config(struct ieee80211_hw *hw
+@@ -1687,6 +1689,7 @@ int ath9k_config(struct ieee80211_hw *hw
sc->config.txpowlimit = 2 * conf->power_level;
ath9k_cmn_update_txpow(ah, sc->curtxpow,
sc->config.txpowlimit, &sc->curtxpow);