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>
Mon, 26 Jul 2010 18:41:04 +0000 (14:41 -0400)
commitf792af250de54309e4bc9f238db3623ead0a4507
tree3efe4c163aa413e46fc747386b3ee1cb83340a54
parent06ee1c261360545c97fd836fff9dbd10ebd9301b
ath9k: fix dma direction for map/unmap in ath_rx_tasklet

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

This is found to address "BUG at arch/x86/mm/physaddr.c:5"
as described here:

http://lkml.org/lkml/2010/7/14/21

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