wlan: Do kernel panic for set power state event timeout

At the time of driver unload we set the power state to down and
set power state is serialised through RX and from RX to TX thread.
If the set power state event is not set with in 10 seconds, it leads
to SSR and we loose all the system context.

In this change add kernel panic for set power state event timeout to
help in root causing the reason for the time out.

Change-Id: I7c26df15d90aad3aba13cfb49d5c948b9c3c5844
CRs-Fixed: 985406
diff --git a/CORE/HDD/src/wlan_hdd_cfg80211.c b/CORE/HDD/src/wlan_hdd_cfg80211.c
index 066efbf..9c88c61 100644
--- a/CORE/HDD/src/wlan_hdd_cfg80211.c
+++ b/CORE/HDD/src/wlan_hdd_cfg80211.c
@@ -14680,6 +14680,7 @@
     {
         hddLog(LOGE,
               "%s: Failed to disconnect, timed out", __func__);
+        VOS_BUG(0);
         result = -ETIMEDOUT;
     }
 disconnected:
diff --git a/CORE/WDI/CP/src/wlan_qct_wdi.c b/CORE/WDI/CP/src/wlan_qct_wdi.c
index eacf58f..4654d8e 100644
--- a/CORE/WDI/CP/src/wlan_qct_wdi.c
+++ b/CORE/WDI/CP/src/wlan_qct_wdi.c
@@ -8156,10 +8156,10 @@
                             WDI_SET_POWER_STATE_TIMEOUT);
      if (eWLAN_PAL_STATUS_SUCCESS != status)
      {
-        WPAL_TRACE(eWLAN_MODULE_DAL_CTRL, eWLAN_PAL_TRACE_LEVEL_WARN,
+        WPAL_TRACE(eWLAN_MODULE_DAL_CTRL, eWLAN_PAL_TRACE_LEVEL_FATAL,
                   "WDI Init failed to wait on an event");
 
-        WDI_ASSERT(0);
+        VOS_BUG(0);
         goto fail;
       }
   }