aboutsummaryrefslogtreecommitdiffstats
path: root/package/mac80211/patches/521-ath9k_cur_txpower.patch
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2013-01-14 15:58:46 +0000
committerFelix Fietkau <nbd@openwrt.org>2013-01-14 15:58:46 +0000
commit71abb04e4be002cc44cf2fe7b5eeccbfbd595359 (patch)
tree01daaf10b63fac3ca012264d44137009a186cefb /package/mac80211/patches/521-ath9k_cur_txpower.patch
parent46e56ff4d043e17d1e6f6cea971929e5fe1cc8b4 (diff)
downloadmaster-187ad058-71abb04e4be002cc44cf2fe7b5eeccbfbd595359.tar.gz
master-187ad058-71abb04e4be002cc44cf2fe7b5eeccbfbd595359.tar.bz2
master-187ad058-71abb04e4be002cc44cf2fe7b5eeccbfbd595359.zip
ath9k: fix a soft lockup on smp systems
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35152 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/mac80211/patches/521-ath9k_cur_txpower.patch')
-rw-r--r--package/mac80211/patches/521-ath9k_cur_txpower.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/package/mac80211/patches/521-ath9k_cur_txpower.patch b/package/mac80211/patches/521-ath9k_cur_txpower.patch
index 294e3dd99d..ad2d3d9184 100644
--- a/package/mac80211/patches/521-ath9k_cur_txpower.patch
+++ b/package/mac80211/patches/521-ath9k_cur_txpower.patch
@@ -1,6 +1,6 @@
--- a/drivers/net/wireless/ath/ath9k/main.c
+++ b/drivers/net/wireless/ath/ath9k/main.c
-@@ -1193,6 +1193,8 @@ int ath9k_config(struct ieee80211_hw *hw
+@@ -1192,6 +1192,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
-@@ -1207,6 +1209,7 @@ int ath9k_config(struct ieee80211_hw *hw
+@@ -1206,6 +1208,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);