linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] rt2x00: fix TX_PWR_CFG_4 register definition
@ 2017-03-08 23:54 Daniel Golle
  2017-03-09 12:58 ` Stanislaw Gruszka
  2017-03-20 17:17 ` Kalle Valo
  0 siblings, 2 replies; 3+ messages in thread
From: Daniel Golle @ 2017-03-08 23:54 UTC (permalink / raw)
  To: linux-wireless; +Cc: Stanislaw Gruszka, Helmut Schaa

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>
---
 drivers/net/wireless/ralink/rt2x00/rt2800.h | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/drivers/net/wireless/ralink/rt2x00/rt2800.h b/drivers/net/wireless/ralink/rt2x00/rt2800.h
index 480b08601785..fd1dbd956bad 100644
--- a/drivers/net/wireless/ralink/rt2x00/rt2800.h
+++ b/drivers/net/wireless/ralink/rt2x00/rt2800.h
@@ -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:
-- 
2.11.1

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] rt2x00: fix TX_PWR_CFG_4 register definition
  2017-03-08 23:54 [PATCH] rt2x00: fix TX_PWR_CFG_4 register definition Daniel Golle
@ 2017-03-09 12:58 ` Stanislaw Gruszka
  2017-03-20 17:17 ` Kalle Valo
  1 sibling, 0 replies; 3+ messages in thread
From: Stanislaw Gruszka @ 2017-03-09 12:58 UTC (permalink / raw)
  To: Daniel Golle; +Cc: linux-wireless, Helmut Schaa

On Thu, Mar 09, 2017 at 12:54:22AM +0100, Daniel Golle wrote:
> 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>

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: rt2x00: fix TX_PWR_CFG_4 register definition
  2017-03-08 23:54 [PATCH] rt2x00: fix TX_PWR_CFG_4 register definition Daniel Golle
  2017-03-09 12:58 ` Stanislaw Gruszka
@ 2017-03-20 17:17 ` Kalle Valo
  1 sibling, 0 replies; 3+ messages in thread
From: Kalle Valo @ 2017-03-20 17:17 UTC (permalink / raw)
  To: Daniel Golle; +Cc: linux-wireless, Stanislaw Gruszka, Helmut Schaa

Daniel Golle <daniel@makrotopia.org> wrote:
> 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>

Patch applied to wireless-drivers-next.git, thanks.

5ce33b603063 rt2x00: fix TX_PWR_CFG_4 register definition

-- 
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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-03-20 17:17 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-03-08 23:54 [PATCH] rt2x00: fix TX_PWR_CFG_4 register definition Daniel Golle
2017-03-09 12:58 ` Stanislaw Gruszka
2017-03-20 17:17 ` Kalle Valo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).