mirror of https://github.com/hak5/openwrt.git
parent
0d24c70a4b
commit
a27167aa13
|
@ -1680,3 +1680,19 @@
|
||||||
|
|
||||||
#define AR_SREV_9330(_ah) \
|
#define AR_SREV_9330(_ah) \
|
||||||
(((_ah)->hw_version.macVersion == AR_SREV_VERSION_9330))
|
(((_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:
|
||||||
|
|
Loading…
Reference in New Issue