wlan: Add time stamp info log for suspend failure

Add information of last suspend success and present
time stamp when apps power collapse is not allowed.

Change-Id: I087df9df902eac259ba9b37ea78c954b0f8af05d
CRs-Fixed: 1117376
diff --git a/CORE/HDD/src/wlan_hdd_dev_pwr.c b/CORE/HDD/src/wlan_hdd_dev_pwr.c
index 275eeaf..d715393 100644
--- a/CORE/HDD/src/wlan_hdd_dev_pwr.c
+++ b/CORE/HDD/src/wlan_hdd_dev_pwr.c
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2012-2016 The Linux Foundation. All rights reserved.
+ * Copyright (c) 2012-2017 The Linux Foundation. All rights reserved.
  *
  * Previously licensed under the ISC license by Qualcomm Atheros, Inc.
  *
@@ -162,6 +162,10 @@
        if ((vos_timer_get_system_time() - pHddCtx->last_suspend_success) >=
                                          WLAN_POWER_COLLAPSE_FAIL_THRESHOLD)
        {
+          VOS_TRACE(VOS_MODULE_ID_HDD, VOS_TRACE_LEVEL_ERROR,
+           FL("Current time: %lu Last suspend fail time: %lu continuous fail count: %d"),
+           vos_timer_get_system_time(), pHddCtx->last_suspend_success,
+           pHddCtx->continuous_suspend_fail_cnt);
           pHddCtx->last_suspend_success = 0;
           vos_fatal_event_logs_req(WLAN_LOG_TYPE_FATAL,
                       WLAN_LOG_INDICATOR_HOST_DRIVER,