summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/android/net/dhcp/DhcpClient.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/android/net/dhcp/DhcpClient.java b/src/android/net/dhcp/DhcpClient.java
index 889bfce..9e24ca8 100644
--- a/src/android/net/dhcp/DhcpClient.java
+++ b/src/android/net/dhcp/DhcpClient.java
@@ -638,7 +638,6 @@ public class DhcpClient extends StateMachine {
}
mOffer = null;
Log.d(TAG, msg + " lease: " + mDhcpLease);
- notifySuccess();
}
private void clearDhcpState() {
@@ -1150,6 +1149,7 @@ public class DhcpClient extends StateMachine {
transitionTo(mStoppedState);
}
+ notifySuccess();
scheduleLeaseTimers();
logTimeToBoundState();
}