p54pci: update receive dma buffers before and after processing
commit0bf719dfdecc5552155cbec78e49fa06e531e35c
authorChristian Lamparter <chunkeey@googlemail.com>
Fri, 11 Feb 2011 00:48:42 +0000 (11 01:48 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 21 Feb 2011 20:17:51 +0000 (21 15:17 -0500)
tree03e24faaf508afcea36d4b277a4dae4d7811188c
parent4f919a3bc54da01db829c520ce4b1fabfde1c3f7
p54pci: update receive dma buffers before and after processing

Documentation/DMA-API-HOWTO.txt states:

"DMA transfers need to be synced properly in order for
the cpu and device to see the most uptodate and correct
copy of the DMA buffer."

Cc: <stable@kernel.org>
Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/p54/p54pci.c