Merge "Reset IP failure counter on a success" into ics-mr1
This commit is contained in:
committed by
Android (Google) Code Review
commit
a3d9eba104
@@ -1651,6 +1651,7 @@ public class WifiStateMachine extends StateMachine {
|
||||
mDhcpInfoInternal = dhcpInfoInternal;
|
||||
}
|
||||
mLastSignalLevel = -1; // force update of signal strength
|
||||
mReconnectCount = 0; //Reset IP failure tracking
|
||||
WifiConfigStore.setIpConfiguration(mLastNetworkId, dhcpInfoInternal);
|
||||
InetAddress addr = NetworkUtils.numericToInetAddress(dhcpInfoInternal.ipAddress);
|
||||
mWifiInfo.setInetAddress(addr);
|
||||
|
||||
Reference in New Issue
Block a user