]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
rt2x00: fix TX_PWR_CFG_4 register definition
authorDaniel Golle <daniel@makrotopia.org>
Wed, 8 Mar 2017 23:54:22 +0000 (00:54 +0100)
committerKalle Valo <kvalo@codeaurora.org>
Mon, 20 Mar 2017 17:17:02 +0000 (19:17 +0200)
Some of the macros used to describe the TX_PWR_CFG_4 register accidentally
refer to TX_PWR_CFG_3, probably a copy&paste error. Fix that.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Acked-by: Stanislaw Gruszka <sgruszka@redhat.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/ralink/rt2x00/rt2800.h

index 480b08601785050f9bfbdfb83cf11e93a996bb62..fd1dbd956bad7985a8a0cb58f6d42ce90d273180 100644 (file)
 #define TX_PWR_CFG_4_UKNOWN7           FIELD32(0x00000f00)
 #define TX_PWR_CFG_4_UKNOWN8           FIELD32(0x0000f000)
 /* bits for 3T devices */
-#define TX_PWR_CFG_3_STBC4_CH0         FIELD32(0x0000000f)
-#define TX_PWR_CFG_3_STBC4_CH1         FIELD32(0x000000f0)
-#define TX_PWR_CFG_3_STBC6_CH0         FIELD32(0x00000f00)
-#define TX_PWR_CFG_3_STBC6_CH1         FIELD32(0x0000f000)
+#define TX_PWR_CFG_4_STBC4_CH0         FIELD32(0x0000000f)
+#define TX_PWR_CFG_4_STBC4_CH1         FIELD32(0x000000f0)
+#define TX_PWR_CFG_4_STBC6_CH0         FIELD32(0x00000f00)
+#define TX_PWR_CFG_4_STBC6_CH1         FIELD32(0x0000f000)
 
 /*
  * TX_PIN_CFG: