From d6ce8268948618d6b1511f0ae15176741f188b19 Mon Sep 17 00:00:00 2001 From: Roshan Pius Date: Tue, 15 Aug 2017 08:42:50 -0700 Subject: [PATCH] wifi(implementation): Reduce logging severity IE elements should not be present in the batched scan results, but it being there doesn't cause any problems. The IE elements will be ignored when we send it over the HIDL interface, so reduce the log level to prevent log spamming. Bug: 64448186 Test: None Change-Id: Ia0d0312a113c907bb0992bb8f41e734fe9d05114 --- wifi/1.1/default/wifi_legacy_hal.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wifi/1.1/default/wifi_legacy_hal.cpp b/wifi/1.1/default/wifi_legacy_hal.cpp index 7d683d3fe9..151a6009bb 100644 --- a/wifi/1.1/default/wifi_legacy_hal.cpp +++ b/wifi/1.1/default/wifi_legacy_hal.cpp @@ -1284,7 +1284,7 @@ WifiLegacyHal::getGscanCachedResults() { for (int i = 0; i < num_scan_results; i++) { auto& scan_result = cached_scan_result.results[i]; if (scan_result.ie_length > 0) { - LOG(ERROR) << "Cached scan result has non-zero IE length " + LOG(DEBUG) << "Cached scan result has non-zero IE length " << scan_result.ie_length; scan_result.ie_length = 0; }