]> 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)
commit464ebd4f5b8b30b1f474ef8be44f5fe7d2c8688d
treead999e6e35ddb993c50645b2502f147390d927c4
parent1d5e2d1f26a9f8218fca0b711ad8dc0b6e2f9ffd
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