Skip to content

Commit 27d2ab8

Browse files
Jean-Baptiste QueruAndroid Git Automerger
authored andcommitted
am dc8668c: am 9781870: Merge "Wi-Fi: Handle disconnect in middle of DHCP operation"
* commit 'dc8668c8a727a065cbe48c89c900d2fe98e12ab3': Wi-Fi: Handle disconnect in middle of DHCP operation
2 parents 5525a43 + dc8668c commit 27d2ab8

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

wifi/java/android/net/wifi/WifiStateMachine.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1621,6 +1621,10 @@ private SupplicantState handleSupplicantStateChange(Message message) {
16211621
private void handleNetworkDisconnect() {
16221622
if (DBG) log("Stopping DHCP and clearing IP");
16231623

1624+
/* In case we were in middle of DHCP operation
1625+
restore back powermode */
1626+
handlePostDhcpSetup();
1627+
16241628
/*
16251629
* stop DHCP
16261630
*/

0 commit comments

Comments
 (0)