Author: blogic
Date: 2014-09-01 15:19:32 +0200 (Mon, 01 Sep 2014)
New Revision: 42349

Modified:
   trunk/package/kernel/mac80211/patches/621-rt2x00-ht20_40_fix.patch
Log:
mac80211: rt2x00: fix of ht20/ht40 switching fix

r42348 uses a wrong register

Signed-off-by: Serge Vasilugin <[email protected]>

Modified: trunk/package/kernel/mac80211/patches/621-rt2x00-ht20_40_fix.patch
===================================================================
--- trunk/package/kernel/mac80211/patches/621-rt2x00-ht20_40_fix.patch  
2014-09-01 11:40:38 UTC (rev 42348)
+++ trunk/package/kernel/mac80211/patches/621-rt2x00-ht20_40_fix.patch  
2014-09-01 13:19:32 UTC (rev 42349)
@@ -22,7 +22,7 @@
 -              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));
_______________________________________________
openwrt-commits mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-commits

Reply via email to