diff options
author | Felix Fietkau <nbd@openwrt.org> | 2014-04-06 10:41:23 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2014-04-06 10:41:23 +0000 |
commit | 4e155c80d3d8811e19effa7f173a863f6b22f4bf (patch) | |
tree | 6ace1120efe3767aa6ea23e33755ec4a69d4735d /package/kernel/mac80211/patches/523-ath9k_use_configured_antenna_gain.patch | |
parent | c821836395122a28b692fdfe7ba6446195848496 (diff) | |
download | mtk-20170518-4e155c80d3d8811e19effa7f173a863f6b22f4bf.zip mtk-20170518-4e155c80d3d8811e19effa7f173a863f6b22f4bf.tar.gz mtk-20170518-4e155c80d3d8811e19effa7f173a863f6b22f4bf.tar.bz2 |
mac80211: update to wireless-testing 2014-03-31
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 40393
Diffstat (limited to 'package/kernel/mac80211/patches/523-ath9k_use_configured_antenna_gain.patch')
-rw-r--r-- | package/kernel/mac80211/patches/523-ath9k_use_configured_antenna_gain.patch | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/package/kernel/mac80211/patches/523-ath9k_use_configured_antenna_gain.patch b/package/kernel/mac80211/patches/523-ath9k_use_configured_antenna_gain.patch index 30aa9ee..b84a991 100644 --- a/package/kernel/mac80211/patches/523-ath9k_use_configured_antenna_gain.patch +++ b/package/kernel/mac80211/patches/523-ath9k_use_configured_antenna_gain.patch @@ -1,6 +1,6 @@ --- a/drivers/net/wireless/ath/ath.h +++ b/drivers/net/wireless/ath/ath.h -@@ -74,6 +74,7 @@ struct ath_regulatory { +@@ -83,6 +83,7 @@ struct ath_regulatory { u16 max_power_level; u16 current_rd; int16_t power_limit; @@ -10,7 +10,7 @@ --- a/drivers/net/wireless/ath/ath9k/hw.c +++ b/drivers/net/wireless/ath/ath9k/hw.c -@@ -2721,7 +2721,7 @@ void ath9k_hw_apply_txpower(struct ath_h +@@ -2720,7 +2720,7 @@ void ath9k_hw_apply_txpower(struct ath_h channel = chan->chan; chan_pwr = min_t(int, channel->max_power * 2, MAX_RATE_POWER); new_pwr = min_t(int, chan_pwr, reg->power_limit); @@ -21,7 +21,7 @@ if (ant_gain > max_gain) --- a/drivers/net/wireless/ath/ath9k/main.c +++ b/drivers/net/wireless/ath/ath9k/main.c -@@ -1371,7 +1371,10 @@ static int ath9k_config(struct ieee80211 +@@ -1370,7 +1370,10 @@ static int ath9k_config(struct ieee80211 } if (changed & IEEE80211_CONF_CHANGE_POWER) { |