mwl8k: Recover from firmware crash
authorYogesh Ashok Powar <yogeshp@marvell.com>
Fri, 30 Dec 2011 11:05:27 +0000 (16:35 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 4 Jan 2012 19:31:47 +0000 (14:31 -0500)
commit6b6accc3832e5a124eeb144c6b3b1ff65b503d2b
treeff884be4e816a511b601696ce029977823d0e412
parent7f28197560116f08c4c27342974f9e64cab2cbb1
mwl8k: Recover from firmware crash

In case of firmware crash, reload the firmware and reconfigure it
by triggering ieee80211_hw_restart; mac80211 utility function.

V2 Addressed following comments from Lennert:
 - Stop the queues during reload
 - Removed atomic_t declaration for hw_restart
 - Extend the firmware reload support for sta firmware as well
 - Other misc changes

Signed-off-by: Nishant Sarmukadam <nishants@marvell.com>
Signed-off-by: Yogesh Ashok Powar <yogeshp@marvell.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/mwl8k.c