summaryrefslogtreecommitdiffstats
path: root/wifi
diff options
context:
space:
mode:
authorJi-Hwan Lee <jihwan@google.com>2011-07-04 14:27:26 +0900
committerJi-Hwan Lee <jihwan@google.com>2011-07-04 14:27:26 +0900
commitc4501f7710b8da1bc16f0670e4e7343db01f7146 (patch)
tree10882640cc9582a5b4956e27ec0461721bb52276 /wifi
parent9324e04dcf4d5dd4dd08b1a4d7d981e259df3fe0 (diff)
downloadframeworks_base-c4501f7710b8da1bc16f0670e4e7343db01f7146.zip
frameworks_base-c4501f7710b8da1bc16f0670e4e7343db01f7146.tar.gz
frameworks_base-c4501f7710b8da1bc16f0670e4e7343db01f7146.tar.bz2
Log supplicant restart count correctly
Currently, it's always 0. Change-Id: I99b2d31e61e1ec7dfffc7a77e04f4059fd6869ef
Diffstat (limited to 'wifi')
-rw-r--r--wifi/java/android/net/wifi/WifiStateMachine.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/wifi/java/android/net/wifi/WifiStateMachine.java b/wifi/java/android/net/wifi/WifiStateMachine.java
index 2a033d1..8c28319 100644
--- a/wifi/java/android/net/wifi/WifiStateMachine.java
+++ b/wifi/java/android/net/wifi/WifiStateMachine.java
@@ -2085,9 +2085,9 @@ public class WifiStateMachine extends StateMachine {
transitionTo(mDriverLoadedState);
sendMessageDelayed(CMD_START_SUPPLICANT, SUPPLICANT_RESTART_INTERVAL_MSECS);
} else {
- mSupplicantRestartCount = 0;
Log.e(TAG, "Failed " + mSupplicantRestartCount +
" times to start supplicant, unload driver");
+ mSupplicantRestartCount = 0;
transitionTo(mDriverLoadedState);
sendMessage(obtainMessage(CMD_UNLOAD_DRIVER, WIFI_STATE_UNKNOWN, 0));
}