rt2x00: fix TX_PWR_CFG_4 register definition
PATCH 1/1 rt2x00: fix TX_PWR_CFG_4 register definition
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 <[email protected]>
--- drivers/net/wireless/ralink/rt2x00/rt2800.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)
drivers/net/wireless/ralink/rt2x00/rt2800.h +4 -4
@@ -1171,10 +1171,10 @@#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:
Signature · 1 line
2.11.1
Quoted 4 lines · Daniel Golle
Some of the macros used to describe the
TX_PWR_CFG_4register accidentally refer toTX_PWR_CFG_3, probably a copy&paste error. Fix that.Signed-off-by Daniel Golle <[email protected]>
Quoted 5 lines · Daniel Golle
Some of the macros used to describe the
TX_PWR_CFG_4register accidentally refer toTX_PWR_CFG_3, probably a copy&paste error. Fix that.Signed-off-by Daniel Golle <[email protected]>
Patch applied to wireless-drivers-next.git, thanks.
5ce33b603063 rt2x00: fix TX_PWR_CFG_4 register definition
Signature · 6 lines
https://patchwork.kernel.org/patch/9612163/ Documentation about submitting wireless patches and checking status from patchwork: https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches