Merge "Log supplicant restart count correctly"
This commit is contained in:
committed by
Android (Google) Code Review
commit
aadfed5308
@@ -2085,9 +2085,9 @@ public class WifiStateMachine extends StateMachine {
|
||||
transitionTo(mDriverLoadedState);
|
||||
sendMessageDelayed(CMD_START_SUPPLICANT, SUPPLICANT_RESTART_INTERVAL_MSECS);
|
||||
} else {
|
||||
mSupplicantRestartCount = 0;
|
||||
Log.e(TAG, "Failed " + mSupplicantRestartCount +
|
||||
" times to start supplicant, unload driver");
|
||||
mSupplicantRestartCount = 0;
|
||||
transitionTo(mDriverLoadedState);
|
||||
sendMessage(obtainMessage(CMD_UNLOAD_DRIVER, WIFI_STATE_UNKNOWN, 0));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user