]> git.baikalelectronics.ru Git - kernel.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)
commit6d103f80074cd093aa4cb99e3f2f8f590f3069f1
tree11840327a8e491e397e7980bb7f36aa80b3ae951
parent7998b28445b61817da7fb657ad66af22d0f27741
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