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

* commit '9781870491f4f33403f8d518879a88c20180d7cb':
  Wi-Fi: Handle disconnect in middle of DHCP operation
This commit is contained in:
Jean-Baptiste Queru
2012-01-27 13:55:56 -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
*/