aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2013-01-11 11:49:11 +0000
committerFelix Fietkau <nbd@openwrt.org>2013-01-11 11:49:11 +0000
commit787f29add73173cfd100e0e7934d05f380568822 (patch)
tree45243ae9dee910fade583cf50f4dd6441bce78cf
parent499fa677746dfbcab742ceae3eea0f1bd4a46bb8 (diff)
downloadupstream-787f29add73173cfd100e0e7934d05f380568822.tar.gz
upstream-787f29add73173cfd100e0e7934d05f380568822.tar.bz2
upstream-787f29add73173cfd100e0e7934d05f380568822.zip
mac80211: add a fix for ht40 connections
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35094 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--package/mac80211/patches/300-pending_work.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/package/mac80211/patches/300-pending_work.patch b/package/mac80211/patches/300-pending_work.patch
index 9a494a40d2..ff21112108 100644
--- a/package/mac80211/patches/300-pending_work.patch
+++ b/package/mac80211/patches/300-pending_work.patch
@@ -1680,3 +1680,19 @@
#define AR_SREV_9330(_ah) \
(((_ah)->hw_version.macVersion == AR_SREV_VERSION_9330))
+--- a/net/mac80211/mlme.c
++++ b/net/mac80211/mlme.c
+@@ -199,11 +199,11 @@ static u32 ieee80211_config_ht_tx(struct
+ case NL80211_CHAN_WIDTH_40:
+ if (sdata->vif.bss_conf.chandef.chan->center_freq >
+ sdata->vif.bss_conf.chandef.center_freq1 &&
+- chan->flags & IEEE80211_CHAN_NO_HT40PLUS)
++ chan->flags & IEEE80211_CHAN_NO_HT40MINUS)
+ disable_40 = true;
+ if (sdata->vif.bss_conf.chandef.chan->center_freq <
+ sdata->vif.bss_conf.chandef.center_freq1 &&
+- chan->flags & IEEE80211_CHAN_NO_HT40MINUS)
++ chan->flags & IEEE80211_CHAN_NO_HT40PLUS)
+ disable_40 = true;
+ break;
+ default: