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.
1 file changed