Merge "Do not stop IpServer when recieve wifi ap disabling state." am: 197e35198d am: 7018843a2e am: b90f7a5c5c
Change-Id: I0ff153fae086c9b0cc8c2300d97c7e2e8da7b055
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user