mirror of
https://github.com/lwfinger/rtl8188eu.git
synced 2025-05-08 14:33:05 +00:00
rtl8188eu: Remove CONFIG_FIND_BEST_CHANNEL
This variable is selected. Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
This commit is contained in:
parent
f50db5cd2c
commit
d2528caa5f
7 changed files with 0 additions and 19 deletions
|
@ -1006,7 +1006,6 @@ int proc_get_all_sta_info(char *page, char **start,
|
|||
}
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_FIND_BEST_CHANNEL
|
||||
int proc_get_best_channel(char *page, char **start,
|
||||
off_t offset, int count,
|
||||
int *eof, void *data)
|
||||
|
@ -1066,7 +1065,6 @@ int proc_get_best_channel(char *page, char **start,
|
|||
return len;
|
||||
|
||||
}
|
||||
#endif /* CONFIG_FIND_BEST_CHANNEL */
|
||||
#ifdef CONFIG_BT_COEXIST
|
||||
#define _bt_dbg_off_ 0
|
||||
#define _bt_dbg_on_ 1
|
||||
|
|
|
@ -9937,9 +9937,6 @@ u8 sitesurvey_cmd_hdl(_adapter *padapter, u8 *pbuf)
|
|||
|
||||
if ((pmlmeext->sitesurvey_res.state == SCAN_START) || (pmlmeext->sitesurvey_res.state == SCAN_TXNULL))
|
||||
{
|
||||
#ifdef CONFIG_FIND_BEST_CHANNEL
|
||||
#endif /* CONFIG_FIND_BEST_CHANNEL */
|
||||
|
||||
/* disable dynamic functions, such as high power, DIG */
|
||||
Save_DM_Func_Flag(padapter);
|
||||
Switch_DM_Func(padapter, DYNAMIC_FUNC_DISABLE, false);
|
||||
|
|
|
@ -1615,20 +1615,15 @@ sint validate_recv_frame(_adapter *adapter, union recv_frame *precv_frame)
|
|||
|
||||
u8 *ptr = precv_frame->u.hdr.rx_data;
|
||||
u8 ver =(unsigned char) (*ptr)&0x3 ;
|
||||
#ifdef CONFIG_FIND_BEST_CHANNEL
|
||||
struct mlme_ext_priv *pmlmeext = &adapter->mlmeextpriv;
|
||||
#endif
|
||||
|
||||
_func_enter_;
|
||||
|
||||
|
||||
#ifdef CONFIG_FIND_BEST_CHANNEL
|
||||
if (pmlmeext->sitesurvey_res.state == SCAN_PROCESS) {
|
||||
int ch_set_idx = rtw_ch_set_search_ch(pmlmeext->channel_set, rtw_get_oper_ch(adapter));
|
||||
if (ch_set_idx >= 0)
|
||||
pmlmeext->channel_set[ch_set_idx].rx_count++;
|
||||
}
|
||||
#endif
|
||||
|
||||
/* add version chk */
|
||||
if (ver!=0){
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue