Skip to content

Commit dc8668c

Browse files
Jean-Baptiste QueruAndroid Git Automerger
authored andcommitted
am 9781870: Merge "Wi-Fi: Handle disconnect in middle of DHCP operation"
* commit '9781870491f4f33403f8d518879a88c20180d7cb': Wi-Fi: Handle disconnect in middle of DHCP operation
2 parents 64085d0 + 9781870 commit dc8668c

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)