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

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

Merge "Revert "Wifi: wifi not connecting, once the APN gets disabled state""

parents c076129e d566a905
Loading
Loading
Loading
Loading
+0 −7
Original line number Diff line number Diff line
@@ -398,13 +398,6 @@ class WifiConfigStore {
    boolean forgetNetwork(int netId) {
        if (VDBG) localLog("forgetNetwork", netId);
        if (mWifiNative.removeNetwork(netId)) {
            for(WifiConfiguration config : mConfiguredNetworks.values()) {
                if(config != null && config.status == Status.DISABLED) {
                       config.status = Status.ENABLED;
                  } else {
                       loge("Enable network failed on " + config.networkId);
                  }
            }
            mWifiNative.saveConfig();
            removeConfigAndSendBroadcastIfNeeded(netId);
            return true;