From 3e42cc02e22b1ee44973386ddd5afc03ce044db6 Mon Sep 17 00:00:00 2001 From: Larry Finger Date: Wed, 11 Mar 2015 20:45:41 -0500 Subject: [PATCH] rtl8188eu: Remove CONFIG_PATCH_JOIN_WRONG_CHANNEL Signed-off-by: Larry Finger --- core/rtw_mlme_ext.c | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/core/rtw_mlme_ext.c b/core/rtw_mlme_ext.c index 7eb6b23..c86dcd5 100755 --- a/core/rtw_mlme_ext.c +++ b/core/rtw_mlme_ext.c @@ -955,18 +955,6 @@ unsigned int OnBeacon(struct adapter *padapter, union recv_frame *precv_frame) { if ((psta = rtw_get_stainfo(pstapriv, GetAddr2Ptr(pframe))) != NULL) { - #ifdef CONFIG_PATCH_JOIN_WRONG_CHANNEL - /* Merge from 8712 FW code */ - if (cmp_pkt_chnl_diff(padapter,pframe,len) != 0) - { /* join wrong channel, deauth and reconnect */ - issue_deauth(padapter, (&(pmlmeinfo->network))->MacAddress, WLAN_REASON_DEAUTH_LEAVING); - - report_del_sta_event(padapter,(&(pmlmeinfo->network))->MacAddress, WLAN_REASON_JOIN_WRONG_CHANNEL); - pmlmeinfo->state &= (~WIFI_FW_ASSOC_SUCCESS); - return _SUCCESS; - } - #endif /* CONFIG_PATCH_JOIN_WRONG_CHANNEL */ - ret = rtw_check_bcn_info(padapter, pframe, len); if (!ret) { DBG_871X_LEVEL(_drv_always_, "ap has changed, disconnect now\n ");