]> git.openfabrics.org - ~emulex/infiniband.git/commit
mwifiex: use PCI_DMA_FROMDEVICE for RX queue de-init
authorAvinash Patil <patila@marvell.com>
Sat, 20 Apr 2013 00:44:42 +0000 (17:44 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 22 Apr 2013 19:20:27 +0000 (15:20 -0400)
commitd033d3a6b16cc0bbd9defaa048c65cbef9feab14
tree3ebc2b171274a33b21c78af4e8b2039be5d6e41d
parent66aa1ae2e73c4b0f70d425d38fee2f01161a7d64
mwifiex: use PCI_DMA_FROMDEVICE for RX queue de-init

There is a typo in mwifiex_cleanup_rxq_ring() which uses
PCI_DMA_TODEVICE while unmapping PCI memory.
We should actually use PCI_DMA_FROMDEVICE.

Signed-off-by: Avinash Patil <patila@marvell.com>
Signed-off-by: Yogesh Ashok Powar <yogeshp@marvell.com>
Signed-off-by: Bing Zhao <bzhao@marvell.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/mwifiex/pcie.c