am dc8668c8: am 97818704: Merge "Wi-Fi: Handle disconnect in middle of DHCP operation"

* commit 'dc8668c8a727a065cbe48c89c900d2fe98e12ab3':
  Wi-Fi: Handle disconnect in middle of DHCP operation
This commit is contained in:
Jean-Baptiste Queru
2012-01-27 13:58:03 -08:00
committed by Android Git Automerger

View File

@ -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
*/