Skip to content

Commit 729f810

Browse files
Jean-Baptiste QueruAndroid Git Automerger
authored andcommitted
am 8f7100a: Merge "WifiStateMachine: ignore auth-fail event during WPS connection"
* commit '8f7100a03768d2863255024cf0c604cac10c9d5d': WifiStateMachine: ignore auth-fail event during WPS connection
2 parents 1e739c9 + 8f7100a commit 729f810

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

wifi/java/android/net/wifi/WifiStateMachine.java

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3535,6 +3535,13 @@ public boolean processMessage(Message message) {
35353535
if (DBG) log("Network connection lost");
35363536
handleNetworkDisconnect();
35373537
break;
3538+
case WifiMonitor.AUTHENTICATION_FAILURE_EVENT:
3539+
// Disregard auth failure events during WPS connection. The
3540+
// EAP sequence is retried several times, and there might be
3541+
// failures (especially for wps pin). We will get a WPS_XXX
3542+
// event at the end of the sequence anyway.
3543+
if (DBG) log("Ignore auth failure during WPS connection");
3544+
break;
35383545
case WifiMonitor.SUPPLICANT_STATE_CHANGE_EVENT:
35393546
//Throw away supplicant state changes when WPS is running.
35403547
//We will start getting supplicant state changes once we get

0 commit comments

Comments
 (0)