From: Gabor Juhos Date: Tue, 3 Mar 2009 09:49:59 +0000 (+0100) Subject: ath9k: fix AR_TXCFG_DMASZ_MASK value X-Git-Tag: MMI-PSA29.97-13-9~29230^2~323 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=aebe2b5624b9a3c00b78b1b285c43de73c81f7c5;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git ath9k: fix AR_TXCFG_DMASZ_MASK value The current bitmask is invalid, because the tx dma size is a 3 bit wide value. Signed-off-by: Gabor Juhos Signed-off-by: John W. Linville --- diff --git a/drivers/net/wireless/ath9k/reg.h b/drivers/net/wireless/ath9k/reg.h index 8d85106d6df2..91442da18183 100644 --- a/drivers/net/wireless/ath9k/reg.h +++ b/drivers/net/wireless/ath9k/reg.h @@ -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