summaryrefslogtreecommitdiffstats
path: root/wifi/java/android
diff options
context:
space:
mode:
authorIrfan Sheriff <isheriff@google.com>2013-02-05 15:36:21 -0800
committerIrfan Sheriff <isheriff@google.com>2013-02-05 15:36:21 -0800
commit44b31182e141c2a72432a7131c1497d84c2bb50a (patch)
treeac6c47c4a180745298549dd4dd93915a90b5af20 /wifi/java/android
parent080df3f38fc47f15ad321fff00689dcd07e1d075 (diff)
downloadframeworks_base-44b31182e141c2a72432a7131c1497d84c2bb50a.zip
frameworks_base-44b31182e141c2a72432a7131c1497d84c2bb50a.tar.gz
frameworks_base-44b31182e141c2a72432a7131c1497d84c2bb50a.tar.bz2
Allow null serverAddress
Bug: 7993077 Change-Id: Id54d517c330b73ce5799c9dc9bc00226a9e71e14
Diffstat (limited to 'wifi/java/android')
-rw-r--r--wifi/java/android/net/wifi/WifiStateMachine.java3
1 files changed, 0 insertions, 3 deletions
diff --git a/wifi/java/android/net/wifi/WifiStateMachine.java b/wifi/java/android/net/wifi/WifiStateMachine.java
index 9c59f63..ed8b99b 100644
--- a/wifi/java/android/net/wifi/WifiStateMachine.java
+++ b/wifi/java/android/net/wifi/WifiStateMachine.java
@@ -1767,9 +1767,6 @@ public class WifiStateMachine extends StateMachine {
private void handleSuccessfulIpConfiguration(DhcpResults dhcpResults) {
mLastSignalLevel = -1; // force update of signal strength
mReconnectCount = 0; //Reset IP failure tracking
- if (dhcpResults.serverAddress == null) {
- dhcpResults = null;
- }
synchronized (mDhcpResultsLock) {
mDhcpResults = dhcpResults;
}