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

Commit a22007c6 authored by Paul Zhang's avatar Paul Zhang Committed by Steve Kondik
Browse files

Frameworks: Fix ap list issue while wifi turns on

Decrease the sleep time to resolve the synchronization issue
which happens between wpa_supplicant and Wifimonitor thread
when wifi turns on.

CRs-Fixed: 673012

Change-Id: I4e2414301ace26a26351b6c1345e1ff6e7ab49a9
parent be1dd2d8
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -434,9 +434,9 @@ public class WifiMonitor {
                        mConnected = true;
                        break;
                    }
                    if (connectTries++ < 5) {
                    if (connectTries++ < 50) {
                        try {
                            Thread.sleep(1000);
                            Thread.sleep(100);
                        } catch (InterruptedException ignore) {
                        }
                    } else {