summaryrefslogtreecommitdiffstats
path: root/wifi
diff options
context:
space:
mode:
authorWink Saville <wink@google.com>2011-07-07 16:17:06 -0700
committerWink Saville <wink@google.com>2011-07-07 16:17:06 -0700
commit8171e6f690cca1bad354e7e352823d79d420daf3 (patch)
tree856ae1012fb812bcf7182f65f1ecfdd2614f0e5e /wifi
parent848aa3ab8a00835c5af2ead954c7736e507249b5 (diff)
downloadframeworks_base-8171e6f690cca1bad354e7e352823d79d420daf3.zip
frameworks_base-8171e6f690cca1bad354e7e352823d79d420daf3.tar.gz
frameworks_base-8171e6f690cca1bad354e7e352823d79d420daf3.tar.bz2
Use resetConnections with resetMask.
Bug: 4981919 Change-Id: I5dec2da0756d5083bc81494fd583672704537694
Diffstat (limited to 'wifi')
-rw-r--r--wifi/java/android/net/wifi/WifiStateMachine.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/wifi/java/android/net/wifi/WifiStateMachine.java b/wifi/java/android/net/wifi/WifiStateMachine.java
index f6b7edb..0769ea0 100644
--- a/wifi/java/android/net/wifi/WifiStateMachine.java
+++ b/wifi/java/android/net/wifi/WifiStateMachine.java
@@ -1415,7 +1415,7 @@ public class WifiStateMachine extends StateMachine {
/*
* stop DHCP
*/
- NetworkUtils.resetConnections(mInterfaceName);
+ NetworkUtils.resetConnections(mInterfaceName, NetworkUtils.RESET_ALL_ADDRESSES);
if (mDhcpStateMachine != null) {
mDhcpStateMachine.sendMessage(DhcpStateMachine.CMD_STOP_DHCP);
@@ -1509,7 +1509,7 @@ public class WifiStateMachine extends StateMachine {
if (!linkProperties.equals(mLinkProperties)) {
Log.d(TAG, "Link configuration changed for netId: " + mLastNetworkId
+ " old: " + mLinkProperties + "new: " + linkProperties);
- NetworkUtils.resetConnections(mInterfaceName);
+ NetworkUtils.resetConnections(mInterfaceName, NetworkUtils.RESET_ALL_ADDRESSES);
mLinkProperties = linkProperties;
sendLinkConfigurationChangedBroadcast();
}