summaryrefslogtreecommitdiff
path: root/service
diff options
context:
space:
mode:
authorRoshan Pius <rpius@google.com>2016-08-19 20:44:53 +0000
committerandroid-build-merger <android-build-merger@google.com>2016-08-19 20:44:53 +0000
commite78bb65416985cecbcba31b31a5565b54ed0a5c7 (patch)
tree1d530cb2925f4e1708ca21de9454efd7f1630e06 /service
parentbd875da7c7d7569e183e78dd081e56be6bbefad6 (diff)
parentb14b43c87ce64dab8860df230d20bf4fcde38ce5 (diff)
SupplicantWifiScannerImpl: Ignore PNO stop failure am: e483fd4a31
am: b14b43c87c Change-Id: Ic5f298beb849e6ededbdd73d4c81602853935317
Diffstat (limited to 'service')
-rw-r--r--service/java/com/android/server/wifi/scanner/SupplicantWifiScannerImpl.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/service/java/com/android/server/wifi/scanner/SupplicantWifiScannerImpl.java b/service/java/com/android/server/wifi/scanner/SupplicantWifiScannerImpl.java
index 3f93c9074..eb4862b22 100644
--- a/service/java/com/android/server/wifi/scanner/SupplicantWifiScannerImpl.java
+++ b/service/java/com/android/server/wifi/scanner/SupplicantWifiScannerImpl.java
@@ -1041,7 +1041,6 @@ public class SupplicantWifiScannerImpl extends WifiScannerImpl implements Handle
if (DBG) Log.d(TAG, "PNO state is already " + enable);
return true;
}
-
mLastPnoChangeTimeStamp = mClock.elapsedRealtime();
if (mWifiNative.setPnoScan(enable)) {
Log.d(TAG, "Changed PNO state from " + mCurrentPnoState + " to " + enable);
@@ -1049,6 +1048,7 @@ public class SupplicantWifiScannerImpl extends WifiScannerImpl implements Handle
return true;
} else {
Log.e(TAG, "PNO state change to " + enable + " failed");
+ mCurrentPnoState = false;
return false;
}
}