summaryrefslogtreecommitdiffstats
path: root/wifi/java
diff options
context:
space:
mode:
authorIrfan Sheriff <isheriff@google.com>2011-09-23 15:18:37 -0700
committerAndroid (Google) Code Review <android-gerrit@google.com>2011-09-23 15:18:37 -0700
commitc21994bc26df959d1a7161e38b4402b7255ea321 (patch)
treea40df63889afe41071a5506f3fef8c341d90e004 /wifi/java
parentb20d378cec09da18301eb9c33bc88251beb81042 (diff)
parent32f04e9009046f72242932bf4e820802148e423a (diff)
downloadframeworks_base-c21994bc26df959d1a7161e38b4402b7255ea321.zip
frameworks_base-c21994bc26df959d1a7161e38b4402b7255ea321.tar.gz
frameworks_base-c21994bc26df959d1a7161e38b4402b7255ea321.tar.bz2
Merge "Fix watchdog to stop ping after wifi disconnects" into ics-factoryrom
Diffstat (limited to 'wifi/java')
-rw-r--r--wifi/java/android/net/wifi/WifiWatchdogStateMachine.java7
1 files changed, 3 insertions, 4 deletions
diff --git a/wifi/java/android/net/wifi/WifiWatchdogStateMachine.java b/wifi/java/android/net/wifi/WifiWatchdogStateMachine.java
index fe0e850..af8c486 100644
--- a/wifi/java/android/net/wifi/WifiWatchdogStateMachine.java
+++ b/wifi/java/android/net/wifi/WifiWatchdogStateMachine.java
@@ -589,12 +589,11 @@ public class WifiWatchdogStateMachine extends StateMachine {
updateBssids();
transitionTo(mDnsCheckingState);
mNetEventCounter++;
- return HANDLED;
- case DISCONNECTED:
- case DISCONNECTING:
+ break;
+ default:
mNetEventCounter++;
transitionTo(mNotConnectedState);
- return HANDLED;
+ break;
}
return HANDLED;
case EVENT_WIFI_RADIO_STATE_CHANGE: