mac80211: update to wireless-testing 2013-02-22
[openwrt/staging/jow.git] / package / mac80211 / patches / 521-ath9k_cur_txpower.patch
index e1ef90f524d5de3c1fc3dcc8487ea1d9e3dc520a..fc091f2b8f8f9ed754d0738463434d09c64af6de 100644 (file)
@@ -1,6 +1,6 @@
 --- a/drivers/net/wireless/ath/ath9k/main.c
 +++ b/drivers/net/wireless/ath/ath9k/main.c
-@@ -1199,6 +1199,8 @@ int ath9k_config(struct ieee80211_hw *hw
+@@ -1255,6 +1255,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
-@@ -1213,6 +1215,7 @@ int ath9k_config(struct ieee80211_hw *hw
+@@ -1274,6 +1276,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);