wlan: Code cleanup
Cleanup code by not directly calling VOS routines from WDI. WPAL routine
created for use by WDI. This is to cleanup changes done in earlier CL
664207.
Change-Id: Ic4590434568d39a9215d5974e4242c1231fa6043
CR-Fixed: 433295
(cherry picked from commit 3c5b0636854eed6089c13be01c57427e9710bc5f)
diff --git a/CORE/WDI/CP/src/wlan_qct_wdi.c b/CORE/WDI/CP/src/wlan_qct_wdi.c
index a6705b0..a4b6b04 100644
--- a/CORE/WDI/CP/src/wlan_qct_wdi.c
+++ b/CORE/WDI/CP/src/wlan_qct_wdi.c
@@ -83,7 +83,6 @@
/*----------------------------------------------------------------------------
* Include Files
* -------------------------------------------------------------------------*/
-#include <vos_trace.h>
#include "wlan_qct_wdi.h"
#include "wlan_qct_wdi_i.h"
#include "wlan_qct_wdi_sta.h"
@@ -19436,7 +19435,7 @@
"response %s (%d)",
WDI_getRespMsgString(pWDICtx->wdiExpectedResponse),
pWDICtx->wdiExpectedResponse);
- VOS_ASSERT(0);
+ WDI_ASSERT(0);
}
}
@@ -19465,7 +19464,7 @@
wpalTimerStart(&pWDICtx->wptResponseTimer, WDI_RESPONSE_TIMEOUT);
/*cache current timestamp for debugging */
- pWDICtx->uTimeStampRspTmrStart = vos_timer_get_system_time();
+ pWDICtx->uTimeStampRspTmrStart = wpalGetSystemTime();
}
else
{
@@ -19625,7 +19624,7 @@
}
/*cache current timestamp for debugging */
- pWDICtx->uTimeStampRspTmrExp = vos_timer_get_system_time();
+ pWDICtx->uTimeStampRspTmrExp = wpalGetSystemTime();
/* If response timer is running at this time that means this timer
* event is not for the last request but rather last-to-last request and