summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMehdi Alizadeh2017-09-01 15:32:30 -0500
committerandroid-build-merger2017-09-01 15:32:30 -0500
commit874d6289a3ac118681f6780aef9c61b372b18341 (patch)
treebb70b800bc74b63a90838eb9303eab332ba06e94
parentfc1b96b6c9034b4dfe30030ed47ec846841a9bfa (diff)
parentc9cee96d62dd2d91d0cff2c55e5f1ee8de96b1ed (diff)
downloadsystem-connectivity-wificond-874d6289a3ac118681f6780aef9c61b372b18341.tar.gz
system-connectivity-wificond-874d6289a3ac118681f6780aef9c61b372b18341.tar.xz
system-connectivity-wificond-874d6289a3ac118681f6780aef9c61b372b18341.zip
Count failures on fallback to netlink for pno metrics
am: c9cee96d62 Change-Id: I7fd6ac6c46236cae80e6b80bae96c1997aed95b2
-rw-r--r--scanning/scanner_impl.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/scanning/scanner_impl.cpp b/scanning/scanner_impl.cpp
index 0f6ab52..e09c7a1 100644
--- a/scanning/scanner_impl.cpp
+++ b/scanning/scanner_impl.cpp
@@ -551,6 +551,9 @@ void ScannerImpl::OnOffloadError(
551 success = StartPnoScanDefault(pno_settings_); 551 success = StartPnoScanDefault(pno_settings_);
552 if (success) { 552 if (success) {
553 LOG(INFO) << "Pno scans restarted"; 553 LOG(INFO) << "Pno scans restarted";
554 } else {
555 LOG(ERROR) << "Unable to fall back to netlink pno scan";
556 pno_scan_event_handler_->OnPnoScanFailed();
554 } 557 }
555} 558}
556 559