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

Commit 197e3519 authored by Mark Chien's avatar Mark Chien Committed by Gerrit Code Review
Browse files

Merge "Do not stop IpServer when recieve wifi ap disabling state."

parents 688857ea 714e647a
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -922,8 +922,10 @@ public class Tethering {
                    case WifiManager.WIFI_AP_STATE_ENABLED:
                        enableWifiIpServingLocked(ifname, ipmode);
                        break;
                    case WifiManager.WIFI_AP_STATE_DISABLED:
                    case WifiManager.WIFI_AP_STATE_DISABLING:
                        // We can see this state on the way to disabled.
                        break;
                    case WifiManager.WIFI_AP_STATE_DISABLED:
                    case WifiManager.WIFI_AP_STATE_FAILED:
                    default:
                        disableWifiIpServingLocked(ifname, curState);