diff options
author | Roshan Pius <rpius@google.com> | 2016-08-19 20:36:19 +0000 |
---|---|---|
committer | android-build-merger <android-build-merger@google.com> | 2016-08-19 20:36:19 +0000 |
commit | b14b43c87ce64dab8860df230d20bf4fcde38ce5 (patch) | |
tree | 14f4920ad35f861d134bf5d9a425ef7a5c37c77b /service | |
parent | a37f802e10f8c69dd6fc17825c040f4e8ee73e45 (diff) | |
parent | e483fd4a3151e59b3d0a596572b4d9f035fa8424 (diff) |
SupplicantWifiScannerImpl: Ignore PNO stop failure
am: e483fd4a31
Change-Id: I09dbe09d9aff3475ec32e0d25153fd07c9181c34
Diffstat (limited to 'service')
-rw-r--r-- | service/java/com/android/server/wifi/scanner/SupplicantWifiScannerImpl.java | 2 |
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; } } |