diff options
author | Vishal Mahaveer <vishalm@ti.com> | 2012-01-27 14:41:59 -0600 |
---|---|---|
committer | Vishal Mahaveer <vishalm@ti.com> | 2012-01-27 14:51:23 -0600 |
commit | 21bd79f51c032782e3d6ccd22c7e236200d28a94 (patch) | |
tree | 1fe6a89f64cf0ca41023b493f4c9c81e181678a5 /wifi/java | |
parent | 12045502c49bfee40d7d3cb806d9b70d3b5d3ed3 (diff) | |
download | frameworks_base-21bd79f51c032782e3d6ccd22c7e236200d28a94.zip frameworks_base-21bd79f51c032782e3d6ccd22c7e236200d28a94.tar.gz frameworks_base-21bd79f51c032782e3d6ccd22c7e236200d28a94.tar.bz2 |
Wi-Fi: Handle disconnect in middle of DHCP operation
Restore power mode and BT co-ex settings when disconnect
happens in middle of DHCP operation.
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
Diffstat (limited to 'wifi/java')
-rw-r--r-- | wifi/java/android/net/wifi/WifiStateMachine.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/wifi/java/android/net/wifi/WifiStateMachine.java b/wifi/java/android/net/wifi/WifiStateMachine.java index 82abe3a..4539c6b 100644 --- a/wifi/java/android/net/wifi/WifiStateMachine.java +++ b/wifi/java/android/net/wifi/WifiStateMachine.java @@ -1621,6 +1621,10 @@ public class WifiStateMachine extends StateMachine { private void handleNetworkDisconnect() { if (DBG) log("Stopping DHCP and clearing IP"); + /* In case we were in middle of DHCP operation + restore back powermode */ + handlePostDhcpSetup(); + /* * stop DHCP */ |