WifiController: Handle recovery in DisabledState as well
For HAL crashes, the active interfaces will be destroyed first. This
will cause the mode managers to stop on their own before the recovery
indication reaches WifiController. WifiController should be able to
handle this recovery message even if it has transitioned to DisabledState.
Also, removed a unused method to indicate softap stop.
Bug: 139157226
Bug: 142063444
Test: atest com.android.server.wifi
Test: Manually crashed HAL & ensure that we restarted wifi stack &
reconnected back.
Change-Id: Ic75bc750ec34bb5372f39e7f0bc4d70215a8158a
2 files changed