ieee802154/at86rf230: Fix register names for RX_AACK_ON and TX_ARET_ON
authorstefan@datenfreihafen.org <stefan@datenfreihafen.org>
Tue, 26 Mar 2013 12:41:31 +0000 (12:41 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 27 Mar 2013 04:52:07 +0000 (00:52 -0400)
The register names have been wrong since the beginning but it only showed up now
as they are actualy used for the upcoming auto ACK support.

Signed-off-by: Stefan Schmidt <stefan@datenfreihafen.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ieee802154/at86rf230.c

index 2ff1f204af8dc823f8daead9504dbb79bb05d58e..6e88eab33f5c69694a30e18591d02bf9f51d7ff8 100644 (file)
@@ -233,8 +233,8 @@ struct at86rf230_local {
 #define STATE_SLEEP            0x0F
 #define STATE_BUSY_RX_AACK     0x11
 #define STATE_BUSY_TX_ARET     0x12
-#define STATE_BUSY_RX_AACK_ON  0x16
-#define STATE_BUSY_TX_ARET_ON  0x19
+#define STATE_RX_AACK_ON       0x16
+#define STATE_TX_ARET_ON       0x19
 #define STATE_RX_ON_NOCLK      0x1C
 #define STATE_RX_AACK_ON_NOCLK 0x1D
 #define STATE_BUSY_RX_AACK_NOCLK 0x1E