mwifiex: add PCIe shutdown handler to avoid system hang on reboot
authorAmitkumar Karwar <akarwar@marvell.com>
Tue, 23 Jul 2013 02:17:47 +0000 (19:17 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 24 Jul 2013 15:02:07 +0000 (11:02 -0400)
commit43ba6b9f2f5e8090f16e8efe19d17cc8ce291d22
treedc519d71892c5225070408e19ab38e6135498ff5
parent8795ca61e4ff3db70f2d072a28aaefc29f1a2301
mwifiex: add PCIe shutdown handler to avoid system hang on reboot

If reboot command is issued when device is in connected state,
system hangs while booting. This issue is fixed by doing cleanup
in shutdown handler.

Signed-off-by: Amitkumar Karwar <akarwar@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