rtl8188eu: Remove CONFIG_FIND_BEST_CHANNEL

This variable is selected.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
This commit is contained in:
Larry Finger 2013-07-19 17:13:46 -05:00
parent f50db5cd2c
commit d2528caa5f
7 changed files with 0 additions and 19 deletions

View file

@ -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){