ath9k: fix AR_TXCFG_DMASZ_MASK value
authorGabor Juhos <juhosg@openwrt.org>
Tue, 3 Mar 2009 09:49:59 +0000 (10:49 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 5 Mar 2009 19:39:43 +0000 (14:39 -0500)
The current bitmask is invalid, because the tx dma size is a 3 bit wide
value.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath9k/reg.h

index 8d85106d6df22e1ad72a0246ccf1def4ca9a0bdd..91442da181831dda3dc86b22d788eed59bbdb29d 100644 (file)
@@ -67,7 +67,7 @@
 #define AR_DMASIZE_512B      0x00000007
 
 #define AR_TXCFG             0x0030
-#define AR_TXCFG_DMASZ_MASK  0x00000003
+#define AR_TXCFG_DMASZ_MASK  0x00000007
 #define AR_TXCFG_DMASZ_4B    0
 #define AR_TXCFG_DMASZ_8B    1
 #define AR_TXCFG_DMASZ_16B   2