Skip to content

Commit

Permalink
ath9k: fix AR_TXCFG_DMASZ_MASK value
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Gabor Juhos authored and John W. Linville committed Mar 5, 2009
1 parent b75bc15 commit aebe2b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/net/wireless/ath9k/reg.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit aebe2b5

Please sign in to comment.