summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAbhishek Singh <absingh@qti.qualcomm.com>2016-08-02 13:01:25 +0530
committerAnjaneedevi Kapparapu <akappa@codeaurora.org>2016-08-03 14:02:12 +0530
commit8aa20ec3ee7282e7061d6452abdebd6b9d6f334f (patch)
tree43236108a9203d3d2eb7ac3c5ed1d22a7ef37553
parent2d8779a4c9328dbe9b6c877afc08752c7d455a8d (diff)
qcacld-2.0: Use correct API to initiate SSR upon fatal event
Some Fatal events requires SSR to be triggered after bug report is completed. The API used to trigger SSR is vos_trigger_recovery(), but vos_wlanRestart() is used in this case. To fix this use vos_trigger_recovery() API to initiate SSR on fatal events. Change-Id: I29d45f69a9c0e4eb528d017cb54c151366513d67 CRs-Fixed: 1049133
-rw-r--r--CORE/SVC/src/logging/wlan_logging_sock_svc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/CORE/SVC/src/logging/wlan_logging_sock_svc.c b/CORE/SVC/src/logging/wlan_logging_sock_svc.c
index 16423c1daf4c..13b2a3a6c280 100644
--- a/CORE/SVC/src/logging/wlan_logging_sock_svc.c
+++ b/CORE/SVC/src/logging/wlan_logging_sock_svc.c
@@ -712,7 +712,7 @@ void send_flush_completion_to_user(void)
wlan_report_log_completion(is_fatal, indicator, reason_code);
if (is_ssr_needed)
- vos_wlanRestart();
+ vos_trigger_recovery();
}
/**