summaryrefslogtreecommitdiffstats
path: root/service
diff options
context:
space:
mode:
authorMichael Bestas <mikeioannina@gmail.com>2015-02-20 19:55:03 +0200
committerSteve Kondik <steve@cyngn.com>2015-03-12 06:19:15 -0700
commit532769822c5e4996b7ef54de60cf93c942b6d7b0 (patch)
tree96e67495c3468b64f25e0cea690d5fadff015070 /service
parent84be3614fb1ffc3aee97e4f7bb66139a776f8faf (diff)
downloadandroid_frameworks_opt_net_wifi-532769822c5e4996b7ef54de60cf93c942b6d7b0.tar.gz
android_frameworks_opt_net_wifi-532769822c5e4996b7ef54de60cf93c942b6d7b0.tar.bz2
android_frameworks_opt_net_wifi-532769822c5e4996b7ef54de60cf93c942b6d7b0.zip
WifiStateMachine: Tone down logging
Change-Id: Iebb37cedc7ac999c7d6512681ae6c924ebd0fd2b
Diffstat (limited to 'service')
-rwxr-xr-xservice/java/com/android/server/wifi/WifiStateMachine.java10
1 files changed, 5 insertions, 5 deletions
diff --git a/service/java/com/android/server/wifi/WifiStateMachine.java b/service/java/com/android/server/wifi/WifiStateMachine.java
index 95d06fdd5..0502f3c5e 100755
--- a/service/java/com/android/server/wifi/WifiStateMachine.java
+++ b/service/java/com/android/server/wifi/WifiStateMachine.java
@@ -7079,9 +7079,9 @@ public class WifiStateMachine extends StateMachine {
freqs.append(channel.toString());
first = false;
}
- //if (DBG) {
- loge("WifiStateMachine starting scan for " + config.configKey() + " with " + freqs);
- //}
+ if (DBG) {
+ loge("WifiStateMachine starting scan for " + config.configKey() + " with " + freqs);
+ }
// Call wifi native to start the scan
if (startScanNative(
WifiNative.SCAN_WITHOUT_CONNECTION_SETUP,
@@ -7244,13 +7244,13 @@ public class WifiStateMachine extends StateMachine {
if (VDBG) logd("L2ConnectedState: ignore scan");
return HANDLED;
}
- //if (DBG) {
+ if (DBG) {
loge("WifiStateMachine CMD_START_SCAN source " + message.arg1
+ " txSuccessRate="+String.format( "%.2f", mWifiInfo.txSuccessRate)
+ " rxSuccessRate="+String.format( "%.2f", mWifiInfo.rxSuccessRate)
+ " targetRoamBSSID=" + mTargetRoamBSSID
+ " RSSI=" + mWifiInfo.getRssi());
- //}
+ }
if (message.arg1 == SCAN_ALARM_SOURCE) {
// Check if the CMD_START_SCAN message is obsolete (and thus if it should
// not be processed) and restart the scan if needed