]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitc142b975a2051de3764c6e837ba165adcd136be1
treeff884be4e816a511b601696ce029977823d0e412
parentefb575fd8eac11a3eeb52f59b6ac4e68a7fa7f79
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