diff options
author | Roshan Pius <rpius@google.com> | 2018-05-03 00:35:40 +0000 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2018-05-03 00:35:40 +0000 |
commit | d2be5893c64fce7119a87b9f52067b24d07d6fd3 (patch) | |
tree | de6106c98521a319f800e3b0ed31dad131d1374f /service | |
parent | 6b9f7ba3c20a01689c1027043b6e6eb5b253348e (diff) | |
parent | ff16c9e2d8bf417d72d3d5d82d6e3719858ce36c (diff) |
Merge "WifiStateMachine: Shutdown IpClient when exiting client mode" into pi-dev
Diffstat (limited to 'service')
-rw-r--r-- | service/java/com/android/server/wifi/WifiStateMachine.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/service/java/com/android/server/wifi/WifiStateMachine.java b/service/java/com/android/server/wifi/WifiStateMachine.java index af0b8c257..3e85ae308 100644 --- a/service/java/com/android/server/wifi/WifiStateMachine.java +++ b/service/java/com/android/server/wifi/WifiStateMachine.java @@ -3813,6 +3813,7 @@ public class WifiStateMachine extends StateMachine { mIsRunning = false; updateBatteryWorkSource(null); + if (mIpClient != null) mIpClient.shutdown(); mNetworkInfo.setIsAvailable(false); if (mNetworkAgent != null) mNetworkAgent.sendNetworkInfo(mNetworkInfo); mCountryCode.setReadyForChange(false); |