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

Commit c949b9c3 authored by Irfan Sheriff's avatar Irfan Sheriff
Browse files

Retry quicker for control channel setup

Bug: 2976277
Change-Id: Ifedb0c1aebefc251028e8d2f578f530a3840c702
parent 4cda1e3e
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -270,8 +270,8 @@ public class WifiMonitor {
                if (WifiNative.connectToSupplicant()) {
                    return true;
                }
                if (connectTries++ < 3) {
                    nap(5);
                if (connectTries++ < 5) {
                    nap(1);
                } else {
                    break;
                }