mirror of
https://github.com/lwfinger/rtl8188eu.git
synced 2025-06-23 08:34:20 +00:00
rtl8188eu: Remove wrapper around INIT_LIST_HEAD()
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
This commit is contained in:
parent
609fff0d67
commit
9ad78a5b0d
14 changed files with 38 additions and 44 deletions
|
@ -83,7 +83,7 @@ int _rtw_init_mlme_priv (struct adapter *padapter)
|
|||
pnetwork = (struct wlan_network *)pbuf;
|
||||
|
||||
for (i = 0; i < MAX_BSS_CNT; i++) {
|
||||
_rtw_init_listhead(&(pnetwork->list));
|
||||
INIT_LIST_HEAD(&(pnetwork->list));
|
||||
|
||||
rtw_list_insert_tail(&(pnetwork->list), &(pmlmepriv->free_bss_pool.queue));
|
||||
|
||||
|
@ -1790,7 +1790,7 @@ int rtw_set_auth(struct adapter *adapter, struct security_priv *psecuritypriv)
|
|||
pcmd->cmdsz = (sizeof(struct setauth_parm));
|
||||
pcmd->rsp = NULL;
|
||||
pcmd->rspsz = 0;
|
||||
_rtw_init_listhead(&pcmd->list);
|
||||
INIT_LIST_HEAD(&pcmd->list);
|
||||
RT_TRACE(_module_rtl871x_mlme_c_, _drv_err_,
|
||||
("after enqueue set_auth_cmd, auth_mode=%x\n",
|
||||
psecuritypriv->dot11AuthAlgrthm));
|
||||
|
@ -1874,7 +1874,7 @@ int rtw_set_key(struct adapter *adapter, struct security_priv *psecuritypriv, in
|
|||
pcmd->cmdsz = (sizeof(struct setkey_parm));
|
||||
pcmd->rsp = NULL;
|
||||
pcmd->rspsz = 0;
|
||||
_rtw_init_listhead(&pcmd->list);
|
||||
INIT_LIST_HEAD(&pcmd->list);
|
||||
res = rtw_enqueue_cmd(pcmdpriv, pcmd);
|
||||
exit:
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue