summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoryeshwanth sriram guntuka <ysriramg@codeaurora.org>2017-02-17 12:40:18 +0530
committerqcabuildsw <qcabuildsw@localhost>2017-02-17 14:02:18 -0800
commit8e205a3ee992ab065a8cc1d3bbe1c1d10c03f527 (patch)
tree6cdbb0412bc32a7708c63dfb72654d1e6e943bab
parenta413a721c26643847e9640f40a076fa5ddabdbd7 (diff)
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
-rw-r--r--core/hdd/src/wlan_hdd_scan.c2
-rw-r--r--core/utils/logging/src/wlan_logging_sock_svc.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/core/hdd/src/wlan_hdd_scan.c b/core/hdd/src/wlan_hdd_scan.c
index b9341ecc206d..008593fd7112 100644
--- a/core/hdd/src/wlan_hdd_scan.c
+++ b/core/hdd/src/wlan_hdd_scan.c
@@ -1235,7 +1235,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;
}
diff --git a/core/utils/logging/src/wlan_logging_sock_svc.c b/core/utils/logging/src/wlan_logging_sock_svc.c
index 4dd94d42d6bf..79db19389782 100644
--- a/core/utils/logging/src/wlan_logging_sock_svc.c
+++ b/core/utils/logging/src/wlan_logging_sock_svc.c
@@ -755,7 +755,7 @@ static void send_flush_completion_to_user(void)
&indicator, &reason_code, &recovery_needed);
/* Error on purpose, so that it will get logged in the kmsg */
- LOGGING_TRACE(QDF_TRACE_LEVEL_ERROR,
+ LOGGING_TRACE(QDF_TRACE_LEVEL_INFO,
"%s: Sending flush done to userspace", __func__);
wlan_report_log_completion(is_fatal, indicator, reason_code);