X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fsvn-archive%2Farchive.git;a=blobdiff_plain;f=package%2Fmac80211%2Fpatches%2F524-ath9k_use_configured_antenna_gain.patch;h=8f48eea3ade1bae9cf947b40ec2b32cd266f2938;hp=d249fd37801cb8ee075c8e35c4ca7640af2224a4;hb=2dfb7a0dd959aad0ba239b1446f4d41f0c41b668;hpb=00411c9186e4ac3db765f2dd003da1ec0ad859d6 diff --git a/package/mac80211/patches/524-ath9k_use_configured_antenna_gain.patch b/package/mac80211/patches/524-ath9k_use_configured_antenna_gain.patch index d249fd3780..8f48eea3ad 100644 --- a/package/mac80211/patches/524-ath9k_use_configured_antenna_gain.patch +++ b/package/mac80211/patches/524-ath9k_use_configured_antenna_gain.patch @@ -10,7 +10,7 @@ --- a/drivers/net/wireless/ath/ath9k/hw.c +++ b/drivers/net/wireless/ath/ath9k/hw.c -@@ -2817,7 +2817,7 @@ void ath9k_hw_apply_txpower(struct ath_h +@@ -2847,7 +2847,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 -@@ -1277,7 +1277,10 @@ int ath9k_config(struct ieee80211_hw *hw +@@ -1292,7 +1292,10 @@ int ath9k_config(struct ieee80211_hw *hw } if (changed & IEEE80211_CONF_CHANGE_POWER) {