]> git.baikalelectronics.ru Git - kernel.git/commit
mwifiex: clean pcie ring only when device is present
authorAvinash Patil <patila@marvell.com>
Tue, 18 Feb 2014 23:41:54 +0000 (15:41 -0800)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 20 Feb 2014 20:51:07 +0000 (15:51 -0500)
commit4e33ce1fa5d7f001acc873481b96fbd5bcfee1b0
treead999e6e35ddb993c50645b2502f147390d927c4
parent2fb5a8dc7916ce33abf7e800315934650b6ace16
mwifiex: clean pcie ring only when device is present

Write io memory to clean PCIe buffer only when PCIe device is
present else this results into crash because of invalid memory
access.

Cc: <stable@vger.kernel.org> # 3.9+
Signed-off-by: Avinash Patil <patila@marvell.com>
Signed-off-by: Bing Zhao <bzhao@marvell.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/mwifiex/wmm.c