Merge "Wi-Fi: Handle disconnect in middle of DHCP operation"
This commit is contained in:
@@ -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
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user