Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 289061
b: refs/heads/master
c: 0738634
h: refs/heads/master
i:
  289059: 6a521af
v: v3
  • Loading branch information
Larry Finger authored and Greg Kroah-Hartman committed Feb 10, 2012
1 parent c5388d6 commit 2a0a59a
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 16 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: c3b3b3f9b0efa20a123244def80698669996b8ec
refs/heads/master: 073863432f7eaa23c7c09733414d4be2eabf5eef
7 changes: 0 additions & 7 deletions trunk/drivers/staging/rtl8712/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,6 @@ config R8712U
This option adds the Realtek RTL8712 USB device such as the D-Link DWA-130.
If built as a module, it will be called r8712u.

config R8712_AP
bool "Realtek RTL8712U AP code"
depends on R8712U
default N
---help---
This option allows the Realtek RTL8712 USB device to be an Access Point.

config R8712_TX_AGGR
bool "Realtek RTL8712U Transmit Aggregation code"
depends on R8712U && BROKEN
Expand Down
5 changes: 1 addition & 4 deletions trunk/drivers/staging/rtl8712/rtl871x_sta_mgt.c
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,8 @@ static void _init_stainfo(struct sta_info *psta)
_init_listhead(&psta->hash_list);
_r8712_init_sta_xmit_priv(&psta->sta_xmitpriv);
_r8712_init_sta_recv_priv(&psta->sta_recvpriv);
#ifdef CONFIG_R8712_AP
_init_listhead(&psta->asoc_list);
_init_listhead(&psta->auth_list);
#endif
}

u32 _r8712_init_sta_priv(struct sta_priv *pstapriv)
Expand All @@ -71,10 +70,8 @@ u32 _r8712_init_sta_priv(struct sta_priv *pstapriv)
get_list_head(&pstapriv->free_sta_queue));
psta++;
}
#ifdef CONFIG_R8712_AP
_init_listhead(&pstapriv->asoc_list);
_init_listhead(&pstapriv->auth_list);
#endif
return _SUCCESS;
}

Expand Down
4 changes: 0 additions & 4 deletions trunk/drivers/staging/rtl8712/sta_info.h
Original file line number Diff line number Diff line change
Expand Up @@ -90,15 +90,13 @@ struct sta_info {
* curr_network(mlme_priv/security_priv/qos/ht) : AP CAP/INFO
* sta_info: (AP & STA) CAP/INFO
*/
#ifdef CONFIG_R8712_AP
struct list_head asoc_list;
struct list_head auth_list;
unsigned int expire_to;
unsigned int auth_seq;
unsigned int authalg;
unsigned char chg_txt[128];
unsigned int tx_ra_bitmap;
#endif
};

struct sta_priv {
Expand All @@ -111,13 +109,11 @@ struct sta_priv {
struct __queue sleep_q;
struct __queue wakeup_q;
struct _adapter *padapter;
#ifdef CONFIG_R8712_AP
struct list_head asoc_list;
struct list_head auth_list;
unsigned int auth_to; /* sec, time to expire in authenticating. */
unsigned int assoc_to; /* sec, time to expire before associating. */
unsigned int expire_to; /* sec , time to expire after associated. */
#endif
};

static inline u32 wifi_mac_hash(u8 *mac)
Expand Down

0 comments on commit 2a0a59a

Please sign in to comment.