diff options
author | John Crispin <john@openwrt.org> | 2014-09-01 13:19:32 +0000 |
---|---|---|
committer | John Crispin <john@openwrt.org> | 2014-09-01 13:19:32 +0000 |
commit | e82f16117f8a08985f344df19be977016e580d0a (patch) | |
tree | cfed161aced06f4cecaa01172efd2a00bd084ac4 /package/kernel/mac80211 | |
parent | 567c909af0a989b3f0cdd17cef5ec6b4c10e4c40 (diff) | |
download | mtk-20170518-e82f16117f8a08985f344df19be977016e580d0a.zip mtk-20170518-e82f16117f8a08985f344df19be977016e580d0a.tar.gz mtk-20170518-e82f16117f8a08985f344df19be977016e580d0a.tar.bz2 |
mac80211: rt2x00: fix of ht20/ht40 switching fix
r42348 uses a wrong register
Signed-off-by: Serge Vasilugin <vasilugin@yandex.ru>
SVN-Revision: 42349
Diffstat (limited to 'package/kernel/mac80211')
-rw-r--r-- | package/kernel/mac80211/patches/621-rt2x00-ht20_40_fix.patch | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/package/kernel/mac80211/patches/621-rt2x00-ht20_40_fix.patch b/package/kernel/mac80211/patches/621-rt2x00-ht20_40_fix.patch index 84e2de3..74a4cc5 100644 --- a/package/kernel/mac80211/patches/621-rt2x00-ht20_40_fix.patch +++ b/package/kernel/mac80211/patches/621-rt2x00-ht20_40_fix.patch @@ -22,7 +22,7 @@ Index: compat-wireless-2014-05-22/drivers/net/wireless/rt2x00/rt2800lib.c - rt2x00_set_field8(&rfcsr, RFCSR30_TX_H20M, 0); - rt2x00_set_field8(&rfcsr, RFCSR30_RX_H20M, 0); + if(rt2x00_rf(rt2x00dev, RF3322)) { -+ rt2x00_set_field8(&rfcsr, RF3320_RFCSR30_TX_H20M, conf_is_ht40(conf)); ++ rt2x00_set_field8(&rfcsr, RF3322_RFCSR30_TX_H20M, conf_is_ht40(conf)); + rt2x00_set_field8(&rfcsr, RF3322_RFCSR30_RX_H20M, conf_is_ht40(conf)); + } else { + rt2x00_set_field8(&rfcsr, RFCSR30_TX_H20M, conf_is_ht40(conf)); |