]> git.karo-electronics.de Git - linux-beck.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)
commit4f7ba432202c8330cc03ab959c6228d0de5dc4a3
treead999e6e35ddb993c50645b2502f147390d927c4
parent95320774fae71d7b22b970ef4267fcc4d1ad23d8
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