wlan: Fix for not closing the smd channel.

Fix for not closing the SMD channel, when WDI time out happens for
message NV_DOWNLOAD_REQ.
1) calling WDA_stopFailed() if WDA_stop() fails in vos_start().
2) Fix to call wdaDestroyTimers() only if they are created.
3) Triggering the SSR in hdd_wlan_startup() if vos_start() fails.

Change-Id: I8c757d4fe1b06411751b22a6f94b957b817b15a5
CR-Fixed: 416542
diff --git a/CORE/HDD/src/wlan_hdd_main.c b/CORE/HDD/src/wlan_hdd_main.c
index 107dfc3..a2274d5 100644
--- a/CORE/HDD/src/wlan_hdd_main.c
+++ b/CORE/HDD/src/wlan_hdd_main.c
@@ -3979,6 +3979,14 @@
 #endif
    VOS_BUG(1);
 
+   if (hdd_is_ssr_required())
+   {
+       /* WDI timeout had happened during load, so SSR is needed here */
+       subsystem_restart("wcnss");
+       msleep(5000);
+   }
+   hdd_set_ssr_required (VOS_FALSE);
+
    return -1;
 
 success: