rtl8188eu: Remove CONFIG_SET_SCAN_DENY_TIMER

This one is always defined.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
This commit is contained in:
Larry Finger 2015-02-24 10:01:42 -06:00
parent af84d3c9c6
commit cc8740eb70
5 changed files with 0 additions and 25 deletions

View file

@ -18,20 +18,12 @@
*
******************************************************************************/
//***** temporarily flag *******
/*
* Public General Config
*/
#define AUTOCONF_INCLUDED
#define RTL871X_MODULE_NAME "88EU"
#define DRV_NAME "rtl8188eu"
#define CONFIG_USB_HCI
#define CONFIG_RTL8188E
#define CONFIG_SET_SCAN_DENY_TIMER
/*
* Internal General Config
*/

View file

@ -423,10 +423,8 @@ struct mlme_priv {
_timer scan_to_timer; // driver itself handles scan_timeout status.
u32 scan_start_time; // used to evaluate the time spent in scanning
#ifdef CONFIG_SET_SCAN_DENY_TIMER
_timer set_scan_deny_timer;
ATOMIC_T set_scan_deny; //0: allowed, 1: deny
#endif
#ifdef CONFIG_DETECT_C2H_BY_POLLING
_timer event_polling_timer;
@ -729,17 +727,10 @@ extern void _rtw_join_timeout_handler(struct adapter *adapter);
extern void rtw_scan_timeout_handler(struct adapter *adapter);
extern void rtw_dynamic_check_timer_handlder(struct adapter *adapter);
#ifdef CONFIG_SET_SCAN_DENY_TIMER
bool rtw_is_scan_deny(struct adapter *adapter);
void rtw_clear_scan_deny(struct adapter *adapter);
void rtw_set_scan_deny_timer_hdl(struct adapter *adapter);
void rtw_set_scan_deny(struct adapter *adapter, u32 ms);
#else
#define rtw_is_scan_deny(adapter) false
#define rtw_clear_scan_deny(adapter) do {} while (0)
#define rtw_set_scan_deny_timer_hdl(adapter) do {} while (0)
#define rtw_set_scan_deny(adapter, ms) do {} while (0)
#endif
#ifdef CONFIG_DETECT_C2H_BY_POLLING
extern void rtw_event_polling_timer_hdl(struct adapter *adapter);