diff options
author | John Crispin <blogic@openwrt.org> | 2014-09-01 13:19:32 +0000 |
---|---|---|
committer | John Crispin <blogic@openwrt.org> | 2014-09-01 13:19:32 +0000 |
commit | 9c751743b2b8cfe26be2038b7bab9f720c75c150 (patch) | |
tree | 62d0eed1d743f241b247fc6928660653409b7db9 /package/kernel | |
parent | 40bf3736f8ebd8a47e4a3e1f166f594d259968d2 (diff) | |
download | master-187ad058-9c751743b2b8cfe26be2038b7bab9f720c75c150.tar.gz master-187ad058-9c751743b2b8cfe26be2038b7bab9f720c75c150.tar.bz2 master-187ad058-9c751743b2b8cfe26be2038b7bab9f720c75c150.zip |
mac80211: rt2x00: fix of ht20/ht40 switching fix
r42348 uses a wrong register
Signed-off-by: Serge Vasilugin <vasilugin@yandex.ru>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42349 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/kernel')
-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 84e2de380c..74a4cc5fd5 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)); |