mirror of
https://github.com/lwfinger/rtl8188eu.git
synced 2025-05-08 22:43:04 +00:00
rtl8188eu: Remove CONFIG_LAYER2_ROAMING
This symbol is always defined. Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
This commit is contained in:
parent
4808b0c71e
commit
72bd29ec15
6 changed files with 4 additions and 59 deletions
|
@ -387,9 +387,7 @@ struct mlme_priv {
|
|||
sint fw_state; //shall we protect this variable? maybe not necessarily...
|
||||
u8 bScanInProcess;
|
||||
u8 to_join; //flag
|
||||
#ifdef CONFIG_LAYER2_ROAMING
|
||||
u8 to_roaming; // roaming trying times
|
||||
#endif
|
||||
|
||||
u8 *nic_hdl;
|
||||
|
||||
|
@ -775,17 +773,10 @@ void rtw_issue_addbareq_cmd(struct adapter *padapter, struct xmit_frame *pxmitfr
|
|||
int rtw_is_same_ibss(struct adapter *adapter, struct wlan_network *pnetwork);
|
||||
int is_same_network(WLAN_BSSID_EX *src, WLAN_BSSID_EX *dst, u8 feature);
|
||||
|
||||
#ifdef CONFIG_LAYER2_ROAMING
|
||||
void _rtw_roaming(struct adapter *adapter, struct wlan_network *tgt_network);
|
||||
void rtw_roaming(struct adapter *adapter, struct wlan_network *tgt_network);
|
||||
void rtw_set_roaming(struct adapter *adapter, u8 to_roaming);
|
||||
u8 rtw_to_roaming(struct adapter *adapter);
|
||||
#else
|
||||
#define _rtw_roaming(adapter, tgt_network) do {} while(0)
|
||||
#define rtw_roaming(adapter, tgt_network) do {} while(0)
|
||||
#define rtw_set_roaming(adapter, to_roaming) do {} while(0)
|
||||
#define rtw_to_roaming(adapter) 0
|
||||
#endif
|
||||
|
||||
void rtw_sta_media_status_rpt(struct adapter *adapter,struct sta_info *psta, u32 mstatus);
|
||||
|
||||
|
@ -794,4 +785,5 @@ void rtw_proxim_enable(struct adapter *padapter);
|
|||
void rtw_proxim_disable(struct adapter *padapter);
|
||||
void rtw_proxim_send_packet(struct adapter *padapter,u8 *pbuf,u16 len,u8 hw_rate);
|
||||
#endif //CONFIG_INTEL_PROXIM
|
||||
|
||||
#endif //__RTL871X_MLME_H_
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue