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

Commit 729f810d authored by Jean-Baptiste Queru's avatar Jean-Baptiste Queru Committed by Android Git Automerger
Browse files

am 8f7100a0: Merge "WifiStateMachine: ignore auth-fail event during WPS connection"

* commit '8f7100a0':
  WifiStateMachine: ignore auth-fail event during WPS connection
parents 1e739c96 8f7100a0
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -3535,6 +3535,13 @@ public class WifiStateMachine extends StateMachine {
                    if (DBG) log("Network connection lost");
                    handleNetworkDisconnect();
                    break;
                case WifiMonitor.AUTHENTICATION_FAILURE_EVENT:
                    // Disregard auth failure events during WPS connection. The
                    // EAP sequence is retried several times, and there might be
                    // failures (especially for wps pin). We will get a WPS_XXX
                    // event at the end of the sequence anyway.
                    if (DBG) log("Ignore auth failure during WPS connection");
                    break;
                case WifiMonitor.SUPPLICANT_STATE_CHANGE_EVENT:
                    //Throw away supplicant state changes when WPS is running.
                    //We will start getting supplicant state changes once we get