wlan: Fix for riva crash when NV Download Request Fails
Removed the go to err_wda_stop and setNeedShutdown and returned when
NVDownload fails in vos_start, renamed WDA_stopFailed to
WDA_setNeedShutdown
Change-Id: I99dd915fcc87bd30634699df3eb7c2410a9270f2
CR-Fixed: 423660
diff --git a/CORE/WDA/src/wlan_qct_wda.c b/CORE/WDA/src/wlan_qct_wda.c
index cf5fe1a..7c2c6cb 100644
--- a/CORE/WDA/src/wlan_qct_wda.c
+++ b/CORE/WDA/src/wlan_qct_wda.c
@@ -11800,12 +11800,13 @@
}
return status;
}
+
/*
- * FUNCTION: WDA_stopFailed
- * WDA stop failed
+ * FUNCTION: WDA_setNeedShutdown
+ * WDA stop failed or WDA NVDownload failed
*/
-void WDA_stopFailed(v_PVOID_t pVosContext)
+void WDA_setNeedShutdown(v_PVOID_t pVosContext)
{
tWDA_CbContext *pWDA = (tWDA_CbContext *)VOS_GET_WDA_CTXT(pVosContext);
if(pWDA == NULL)