static WILC_MsgQueueHandle hif_msg_q;
static struct semaphore hif_sema_thread;
static struct semaphore hif_sema_driver;
-static struct semaphore hWaitResponse;
+static struct semaphore hif_sema_wait_response;
struct semaphore hSemHostIntDeinit;
struct timer_list g_hPeriodicRSSI;
PRINT_ER("Failed to get mac address\n");
s32Error = -EFAULT;
}
- up(&hWaitResponse);
+ up(&hif_sema_wait_response);
return s32Error;
}
static s32 Handle_wait_msg_q_empty(void)
{
g_wilc_initialized = 0;
- up(&hWaitResponse);
+ up(&hif_sema_wait_response);
return 0;
}
if (s32Error)
PRINT_ER("Failed to send scan paramters config packet\n");
- up(&hWaitResponse);
+ up(&hif_sema_wait_response);
return 0;
}
ERRORHANDLER:
kfree(strWID.val);
- up(&hWaitResponse);
+ up(&hif_sema_wait_response);
}
static void Handle_DelStation(struct host_if_drv *hif_drv,
kfree(strWID.val);
- up(&hWaitResponse);
+ up(&hif_sema_wait_response);
return s32Error;
return -EFAULT;
}
- down(&hWaitResponse);
+ down(&hif_sema_wait_response);
return s32Error;
}
result = -EINVAL;
}
- down(&hWaitResponse);
+ down(&hif_sema_wait_response);
return result;
}
return -EFAULT;
}
- down(&hWaitResponse);
+ down(&hif_sema_wait_response);
return s32Error;
}
gbScanWhileConnected = false;
- sema_init(&hWaitResponse, 0);
+ sema_init(&hif_sema_wait_response, 0);
hif_drv = kzalloc(sizeof(struct host_if_drv), GFP_KERNEL);
if (!hif_drv) {
if (s32Error)
PRINT_ER("wilc_mq_send fail\n");
- down(&hWaitResponse);
+ down(&hif_sema_wait_response);
return s32Error;
if (s32Error)
PRINT_ER("wilc_mq_send fail\n");
- down(&hWaitResponse);
+ down(&hif_sema_wait_response);
return s32Error;
}
if (s32Error)
PRINT_ER("wilc_mq_send fail\n");
- down(&hWaitResponse);
+ down(&hif_sema_wait_response);
return s32Error;
}