mac80211: refresh patch
authorFelix Fietkau <nbd@openwrt.org>
Mon, 8 Feb 2016 13:37:47 +0000 (13:37 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Mon, 8 Feb 2016 13:37:47 +0000 (13:37 +0000)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 48670

package/kernel/mac80211/patches/910-01-add-support-for-mt7620.patch

index 3d7c352281801701b2196095207befa5a7966917..f2e21ea49feafaf060846d95746ea6132819536f 100644 (file)
@@ -91,7 +91,8 @@
 +                      rt2x00_set_field32(&reg, RF_CSR_CFG_REGNUM_MT7620, word);
 +                      rt2x00_set_field32(&reg, RF_CSR_CFG_WRITE_MT7620, 1);
 +                      rt2x00_set_field32(&reg, RF_CSR_CFG_BUSY_MT7620, 1);
-+
+-              rt2800_register_write_lock(rt2x00dev, RF_CSR_CFG, reg);
 +                      rt2800_register_write_lock(rt2x00dev, RF_CSR_CFG, reg);
 +              }
 +              break;
 +                      rt2x00_set_field32(&reg, RF_CSR_CFG_REGNUM, word);
 +                      rt2x00_set_field32(&reg, RF_CSR_CFG_WRITE, 1);
 +                      rt2x00_set_field32(&reg, RF_CSR_CFG_BUSY, 1);
--              rt2800_register_write_lock(rt2x00dev, RF_CSR_CFG, reg);
++
 +                      rt2800_register_write_lock(rt2x00dev, RF_CSR_CFG, reg);
 +              }
 +              break;