mirror of
https://github.com/lwfinger/rtl8188eu.git
synced 2025-06-23 08:34:20 +00:00
rtl8188eu: Remove wrapper around init_sema()
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
This commit is contained in:
parent
61690cbca6
commit
890e54b7a7
7 changed files with 9 additions and 15 deletions
|
@ -36,9 +36,9 @@ int _rtw_init_cmd_priv (struct cmd_priv *pcmdpriv)
|
|||
{
|
||||
int res = _SUCCESS;
|
||||
|
||||
_rtw_init_sema(&(pcmdpriv->cmd_queue_sema), 0);
|
||||
/* _rtw_init_sema(&(pcmdpriv->cmd_done_sema), 0); */
|
||||
_rtw_init_sema(&(pcmdpriv->terminate_cmdthread_sema), 0);
|
||||
sema_init(&(pcmdpriv->cmd_queue_sema), 0);
|
||||
/* sema_init(&(pcmdpriv->cmd_done_sema), 0); */
|
||||
sema_init(&(pcmdpriv->terminate_cmdthread_sema), 0);
|
||||
|
||||
_rtw_init_queue(&(pcmdpriv->cmd_queue));
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue