]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
ath9k: Synchronize DMA transfer with CPU at right place
authorVasanthakumar Thiagarajan <vasanth@atheros.com>
Mon, 15 Dec 2008 15:10:46 +0000 (20:40 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 19 Dec 2008 20:23:26 +0000 (15:23 -0500)
commit9bf9fca8dea70116016d32c2bf3f83170c8fba76
tree11840327a8e491e397e7980bb7f36aa80b3ae951
parentf7a276a625e0b980185d2eb8e8e3e9425a708bee
ath9k: Synchronize DMA transfer with CPU at right place

This patch does pci_dma_sync_single_for_cpu() before accessing
the header of the frame and queueing the same buffer into h/w.

Signed-off-by: Vasanthakumar Thiagarajan <vasanth@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath9k/recv.c