mirror of
https://github.com/lwfinger/rtl8188eu.git
synced 2025-05-07 14:03:05 +00:00
rtl8188eu: Convert CONFIG_FIND_BEST_CHANNEL to CONFIG_AP_MODE
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
This commit is contained in:
parent
9decc528d8
commit
7b6e9a069d
5 changed files with 6 additions and 9 deletions
|
@ -2014,7 +2014,7 @@ sint validate_recv_frame(struct 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
|
||||
#ifdef CONFIG_AP_MODE
|
||||
struct mlme_ext_priv *pmlmeext = &adapter->mlmeextpriv;
|
||||
#endif
|
||||
|
||||
|
@ -2032,7 +2032,7 @@ sint validate_recv_frame(struct adapter *adapter, union recv_frame *precv_frame)
|
|||
;
|
||||
|
||||
|
||||
#ifdef CONFIG_FIND_BEST_CHANNEL
|
||||
#ifdef CONFIG_AP_MODE
|
||||
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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue