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

Commit 45f54385 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "wlan: Fix for delay in PNO scan trigger after p2p disconnect."

parents d79031f3 3a1de8ff
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -4069,6 +4069,13 @@ public class WifiStateMachine extends StateMachine {
                        if (DBG) log("Turn on scanning after p2p disconnected");
                        sendMessageDelayed(obtainMessage(CMD_NO_NETWORKS_PERIODIC_SCAN,
                                    ++mPeriodicScanToken, 0), mSupplicantScanIntervalMs);
                    } else if (mEnableBackgroundScan && !mP2pConnected.get() &&
                               (mWifiConfigStore.getConfiguredNetworks().size() != 0)) {
                        if (!mWifiNative.enableBackgroundScan(true)) {
                            setScanAlarm(true);
                        } else {
                            setScanAlarm(false);
                        }
                    }
                case CMD_RECONNECT:
                case CMD_REASSOCIATE: