wlan: vos: set wda needShutdown flag when unable to close SMD port
Need to do WDA_shutdown instead of WDA_close when WDI timeout
occurs.
CRs-Fixed: 735788
Change-Id: Ic238a43fe47c316597d87196a6e6d1b77524cae1
diff --git a/CORE/WDA/src/wlan_qct_wda.c b/CORE/WDA/src/wlan_qct_wda.c
index 23238bd..2e0c168 100644
--- a/CORE/WDA/src/wlan_qct_wda.c
+++ b/CORE/WDA/src/wlan_qct_wda.c
@@ -503,7 +503,7 @@
__func__, status);
}
vos_mem_free(wdiStartParam.pConfigBuffer);
- return VOS_STATUS_E_FAILURE;
+ return status;
}
/* WDI_Start() has completed so we can resume our work */
/* we no longer need the config TLV */