diff options
author | Felix Fietkau <nbd@openwrt.org> | 2014-04-10 08:52:33 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2014-04-10 08:52:33 +0000 |
commit | 1d5076d98dfd6a5f31ddf9d4f26f1d876c624ef9 (patch) | |
tree | 913bd70ded2e0808e03775dde56400a6dff6a32f /package/kernel/mac80211/patches/522-mac80211_configure_antenna_gain.patch | |
parent | c34f225392c225355a3883989c02f3a3d623f8ce (diff) | |
download | upstream-1d5076d98dfd6a5f31ddf9d4f26f1d876c624ef9.tar.gz upstream-1d5076d98dfd6a5f31ddf9d4f26f1d876c624ef9.tar.bz2 upstream-1d5076d98dfd6a5f31ddf9d4f26f1d876c624ef9.zip |
mac80211: add back missing tx power handling fix (#12750)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40440 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/kernel/mac80211/patches/522-mac80211_configure_antenna_gain.patch')
-rw-r--r-- | package/kernel/mac80211/patches/522-mac80211_configure_antenna_gain.patch | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/package/kernel/mac80211/patches/522-mac80211_configure_antenna_gain.patch b/package/kernel/mac80211/patches/522-mac80211_configure_antenna_gain.patch index c94c1e1114..611f76326d 100644 --- a/package/kernel/mac80211/patches/522-mac80211_configure_antenna_gain.patch +++ b/package/kernel/mac80211/patches/522-mac80211_configure_antenna_gain.patch @@ -106,7 +106,7 @@ u32 offchannel_flag; offchannel_flag = local->hw.conf.flags & IEEE80211_CONF_OFFCHANNEL; -@@ -156,6 +156,12 @@ static u32 ieee80211_hw_conf_chan(struct +@@ -158,6 +158,12 @@ static u32 ieee80211_hw_conf_chan(struct } rcu_read_unlock(); @@ -119,7 +119,7 @@ if (local->hw.conf.power_level != power) { changed |= IEEE80211_CONF_CHANGE_POWER; local->hw.cur_power_level = power; -@@ -584,6 +590,7 @@ struct ieee80211_hw *ieee80211_alloc_hw( +@@ -586,6 +592,7 @@ struct ieee80211_hw *ieee80211_alloc_hw( IEEE80211_RADIOTAP_MCS_HAVE_BW; local->hw.radiotap_vht_details = IEEE80211_RADIOTAP_VHT_KNOWN_GI | IEEE80211_RADIOTAP_VHT_KNOWN_BANDWIDTH; |