X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fsvn-archive%2Farchive.git;a=blobdiff_plain;f=package%2Fkernel%2Fmac80211%2Fpatches%2F521-ath9k_cur_txpower.patch;h=e101b249a345a2585c2b387df09ec16d77c88fdc;hp=22691910fec5f802cd651b95d50bf58ff74deeef;hb=4f3144f5b4b4011f426da2bb22d6e00111430d50;hpb=9572afa757d6dc9c88ce495048dbca25eacb98cb diff --git a/package/kernel/mac80211/patches/521-ath9k_cur_txpower.patch b/package/kernel/mac80211/patches/521-ath9k_cur_txpower.patch index 22691910fe..e101b249a3 100644 --- a/package/kernel/mac80211/patches/521-ath9k_cur_txpower.patch +++ b/package/kernel/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 -@@ -286,8 +286,12 @@ static int ath_reset_internal(struct ath +@@ -296,8 +296,12 @@ static int ath_reset_internal(struct ath (sc->hw->conf.flags & IEEE80211_CONF_OFFCHANNEL)) ath9k_mci_set_txpower(sc, true, false); @@ -14,7 +14,7 @@ out: spin_unlock_bh(&sc->sc_pcu_lock); -@@ -1299,6 +1303,7 @@ static int ath9k_config(struct ieee80211 +@@ -1285,6 +1289,7 @@ static int ath9k_config(struct ieee80211 sc->config.txpowlimit = 2 * conf->power_level; ath9k_cmn_update_txpow(ah, sc->curtxpow, sc->config.txpowlimit, &sc->curtxpow);