Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit aadfed53 authored by Irfan Sheriff's avatar Irfan Sheriff Committed by Android (Google) Code Review
Browse files

Merge "Log supplicant restart count correctly"

parents 04a3ae0d c4501f77
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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));
                    }