rtl8188eu: Convert typedef for _list to struct list_head

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
This commit is contained in:
Larry Finger 2013-07-25 09:49:25 -05:00
parent 6717ae7e4f
commit 3d755766c9
23 changed files with 103 additions and 154 deletions

View file

@ -32,7 +32,7 @@
//if mode ==0, then the sta is allowed once the addr is hit.
//if mode ==1, then the sta is rejected once the addr is non-hit.
struct rtw_wlan_acl_node {
_list list;
struct list_head list;
u8 addr[ETH_ALEN];
u8 valid;
};
@ -87,8 +87,8 @@ struct stainfo_stats {
struct sta_info {
spinlock_t lock;
_list list; //free_sta_queue
_list hash_list; //sta_hash
struct list_head list; //free_sta_queue
struct list_head hash_list; //sta_hash
struct sta_xmit_priv sta_xmitpriv;
struct sta_recv_priv sta_recvpriv;
@ -151,8 +151,8 @@ struct sta_info {
#ifdef CONFIG_AP_MODE
_list asoc_list;
_list auth_list;
struct list_head asoc_list;
struct list_head auth_list;
unsigned int expire_to;
unsigned int auth_seq;
@ -337,7 +337,7 @@ struct sta_priv {
struct __queue free_sta_queue;
spinlock_t sta_hash_lock;
_list sta_hash[NUM_STA];
struct list_head sta_hash[NUM_STA];
int asoc_sta_count;
struct __queue sleep_q;
struct __queue wakeup_q;
@ -346,8 +346,8 @@ struct sta_priv {
#ifdef CONFIG_AP_MODE
_list asoc_list;
_list auth_list;
struct list_head asoc_list;
struct list_head auth_list;
spinlock_t asoc_list_lock;
spinlock_t auth_list_lock;
u8 asoc_list_cnt;