aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2014-09-01 13:19:32 +0000
committerJohn Crispin <blogic@openwrt.org>2014-09-01 13:19:32 +0000
commit9c751743b2b8cfe26be2038b7bab9f720c75c150 (patch)
tree62d0eed1d743f241b247fc6928660653409b7db9 /package/kernel
parent40bf3736f8ebd8a47e4a3e1f166f594d259968d2 (diff)
downloadupstream-9c751743b2b8cfe26be2038b7bab9f720c75c150.tar.gz
upstream-9c751743b2b8cfe26be2038b7bab9f720c75c150.tar.bz2
upstream-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.patch2
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));