mwifiex: clear reset flag after reset completes
Reset handling occurs in a workqueue thread, and the reset flag is
cleared there before the actual reset handling code. This improperly
allows driver code to requeue another reset before the current reset
completes, which can lead to a panic. Instead, clear the reset flag
after reset handling is finished.
Also, clear firmware_wedge after reset handling has completed so that it
can continue to produce failures similar to an actual failure.
see b/33975835
Change-Id: Ib19dd8eb38a629a0b901d0859dd892ad7f0a3dd9
1 file changed