ath9k: fix dma direction for map/unmap in ath_rx_tasklet
authorMing Lei <tom.leiming@gmail.com>
Fri, 14 May 2010 13:15:38 +0000 (21:15 +0800)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 2 Jun 2010 20:13:07 +0000 (16:13 -0400)
commit56824223ac97ca845652c59bed9ce139e100261b
treeb1b053b80ed79168fd476608afa7aefb154be802
parent66fceb69b72ff7e9cd8da2ca70033982d5376e0e
ath9k: fix dma direction for map/unmap in ath_rx_tasklet

For edma, we should use DMA_BIDIRECTIONAL, or else use
DMA_FROM_DEVICE.

Signed-off-by: Ming Lei <tom.leiming@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/recv.c