]> git.baikalelectronics.ru Git - kernel.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)
commitf4ae9577a6ff681a3b26aeb0ee9a6ad12af7bd2e
tree3ebc2b171274a33b21c78af4e8b2039be5d6e41d
parent2155dd7a129d89ffdea1670ac94b8f4349dfcc0d
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