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

* commit '27d2ab8b27e7e1927e18869e898fa556e5da3d43':
  Wi-Fi: Handle disconnect in middle of DHCP operation
This commit is contained in:
Jean-Baptiste Queru
2012-01-27 21:09:20 -08:00
committed by Android Git Automerger

View File

@ -1625,6 +1625,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
*/