aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/ath9k/ar9003_mac.h
diff options
context:
space:
mode:
authorSujith Manoharan <c_manoha@qca.qualcomm.com>2012-02-16 01:23:00 -0500
committerJohn W. Linville <linville@tuxdriver.com>2012-02-27 14:05:44 -0500
commit9da27232060411e98c27a8407610c794acb08c8b (patch)
tree4fd910eb382423c782d2397f539a4586add931ed /drivers/net/wireless/ath/ath9k/ar9003_mac.h
parentf4c6ac27d6f4fc775cf6532f298dc1fc346083a7 (diff)
ath9k: Fix descriptor length for AR9462
Change the descriptor length to 24 and explicitly set the control field 23 to zero. Not doing so would result in dropping of frames. Signed-off-by: Sujith Manoharan <c_manoha@qca.qualcomm.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/ar9003_mac.h')
-rw-r--r--drivers/net/wireless/ath/ath9k/ar9003_mac.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath/ath9k/ar9003_mac.h b/drivers/net/wireless/ath/ath9k/ar9003_mac.h
index e203b51e968b..cbf60b090bd9 100644
--- a/drivers/net/wireless/ath/ath9k/ar9003_mac.h
+++ b/drivers/net/wireless/ath/ath9k/ar9003_mac.h
@@ -92,7 +92,8 @@ struct ar9003_txc {
92 u32 ctl20; /* DMA control 20 */ 92 u32 ctl20; /* DMA control 20 */
93 u32 ctl21; /* DMA control 21 */ 93 u32 ctl21; /* DMA control 21 */
94 u32 ctl22; /* DMA control 22 */ 94 u32 ctl22; /* DMA control 22 */
95 u32 pad[9]; /* pad to cache line (128 bytes/32 dwords) */ 95 u32 ctl23; /* DMA control 23 */
96 u32 pad[8]; /* pad to cache line (128 bytes/32 dwords) */
96} __packed __aligned(4); 97} __packed __aligned(4);
97 98
98struct ar9003_txs { 99struct ar9003_txs {