goto _fail_timer_2;
}
memset(pstrWFIDrv, 0, sizeof(tstrWILC_WFIDrv));
- /*return driver handle to user*/
*phWFIDrv = pstrWFIDrv;
- /*save into globl handle*/
err = add_handler_in_list(pstrWFIDrv);
if (err) {
s32Error = -EFAULT;
#endif
PRINT_D(HOSTINF_DBG, "Global handle pointer value=%p\n", pstrWFIDrv);
- /* /////////////////////////////////////// */
if (clients_count == 0) {
sema_init(&hSemHostIFthrdEnd, 0);
sema_init(&hSemDeinitDrvHandle, 0);
sema_init(&(pstrWFIDrv->hSemGetCHNL), 0);
sema_init(&(pstrWFIDrv->hSemInactiveTime), 0);
- /* /////////////////////////////////////// */
up(&(pstrWFIDrv->gtOsCfgValuesSem));
- /*TODO Code to setup simulation to be removed later*/
-
clients_count++; /* increase number of created entities */
return s32Error;