From d117ceb8af1b3dc0c756e1a5006cc2cc183954d9 Mon Sep 17 00:00:00 2001 From: yeshwanth sriram guntuka Date: Fri, 17 Feb 2017 15:32:23 +0530 Subject: [PATCH] qcacld-3.0: Do not trigger fw recovery in case of no scan results Host triggers firmware recovery when bug is reported for no or zero scan results. This may trigger false alarm and thus firmware recovery even in no wifi zones. Fix is to set recovery needed to false in cds_flush_logs called from scan done callback. Also change flush completion log to info. Change-Id: I45cf616803d3f504649fb0fa8e4698b781be5781 CRs-Fixed: 2008108 --- core/hdd/src/wlan_hdd_scan.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/hdd/src/wlan_hdd_scan.c b/core/hdd/src/wlan_hdd_scan.c index 2e2c37dfd70c..5b1bddf69f55 100644 --- a/core/hdd/src/wlan_hdd_scan.c +++ b/core/hdd/src/wlan_hdd_scan.c @@ -1254,7 +1254,7 @@ static QDF_STATUS hdd_cfg80211_scan_done_callback(tHalHandle halHandle, cds_flush_logs(WLAN_LOG_TYPE_NON_FATAL, WLAN_LOG_INDICATOR_HOST_DRIVER, WLAN_LOG_REASON_NO_SCAN_RESULTS, - true, true); + true, false); hddctx->last_nil_scan_bug_report_timestamp = current_timestamp; }