summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNingyuan Wang <nywang@google.com>2017-03-20 18:52:57 +0000
committerandroid-build-merger <android-build-merger@google.com>2017-03-20 18:52:57 +0000
commit5bb3b45dab5566d4234c15346a1d72fbc28f184a (patch)
tree0639c8d63e68bbc549911c62308ba02dc4bd2d7a
parent6f649d0f77e73e8ff47600f470866dc3a57adada (diff)
parent401bfab7ea841113c0f296283ce6b5a09db24efb (diff)
downloadwificond-5bb3b45dab5566d4234c15346a1d72fbc28f184a.tar.gz
Identify external scan result notifications am: 98d17f0968
am: 401bfab7ea Change-Id: I388eb4f8bfdea90372b750df159cdde6ac316393
-rw-r--r--scanning/scanner_impl.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/scanning/scanner_impl.cpp b/scanning/scanner_impl.cpp
index 64be3bc..ea56e74 100644
--- a/scanning/scanner_impl.cpp
+++ b/scanning/scanner_impl.cpp
@@ -325,7 +325,11 @@ void ScannerImpl::OnScanResultsReady(
bool aborted,
vector<vector<uint8_t>>& ssids,
vector<uint32_t>& frequencies) {
- LOG(INFO) << "Received scan result notification from kernel.";
+ if (scan_started_) {
+ LOG(INFO) << "Received scan result notification from kernel.";
+ } else {
+ LOG(INFO) << "Received external scan result notification from kernel.";
+ }
scan_started_ = false;
if (scan_event_handler_ != nullptr) {
// TODO: Pass other parameters back once we find framework needs them.