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
|
@ -1170,7 +1170,7 @@ int rtw_acl_add_sta(struct adapter *padapter, u8 *addr)
|
|||
paclnode = &pacl_list->aclnode[i];
|
||||
|
||||
if (!paclnode->valid) {
|
||||
_rtw_init_listhead(&paclnode->list);
|
||||
INIT_LIST_HEAD(&paclnode->list);
|
||||
|
||||
memcpy(paclnode->addr, addr, ETH_ALEN);
|
||||
|
||||
|
@ -1910,11 +1910,11 @@ void start_ap_mode(struct adapter *padapter)
|
|||
pmlmepriv->p2p_probe_resp_ie = NULL;
|
||||
|
||||
/* for ACL */
|
||||
_rtw_init_listhead(&(pacl_list->acl_node_q.queue));
|
||||
INIT_LIST_HEAD(&(pacl_list->acl_node_q.queue));
|
||||
pacl_list->num = 0;
|
||||
pacl_list->mode = 0;
|
||||
for (i = 0; i < NUM_ACL; i++) {
|
||||
_rtw_init_listhead(&pacl_list->aclnode[i].list);
|
||||
INIT_LIST_HEAD(&pacl_list->aclnode[i].list);
|
||||
pacl_list->aclnode[i].valid = false;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue