mirror of
https://github.com/lwfinger/rtl8188eu.git
synced 2025-06-23 16:44:20 +00:00
rtl8188eu: Remove CONFIG_LAYER2_ROAMING
This symbol is always defined. Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
This commit is contained in:
parent
4808b0c71e
commit
72bd29ec15
6 changed files with 4 additions and 59 deletions
|
@ -234,11 +234,9 @@ module_param(rtw_adaptor_info_caching_file_path, charp, 0644);
|
|||
MODULE_PARM_DESC(rtw_adaptor_info_caching_file_path, "The path of adapter info cache file");
|
||||
#endif /* CONFIG_ADAPTOR_INFO_CACHING_FILE */
|
||||
|
||||
#ifdef CONFIG_LAYER2_ROAMING
|
||||
static uint rtw_max_roaming_times=2;
|
||||
module_param(rtw_max_roaming_times, uint, 0644);
|
||||
MODULE_PARM_DESC(rtw_max_roaming_times,"The max roaming times to try");
|
||||
#endif /* CONFIG_LAYER2_ROAMING */
|
||||
|
||||
#ifdef CONFIG_IOL
|
||||
static int rtw_fw_iol=1;/* 0:Disable, 1:enable, 2:by usb speed */
|
||||
|
@ -300,8 +298,6 @@ static uint loadparam( struct adapter *padapter, _nic_hdl pnetdev)
|
|||
uint status = _SUCCESS;
|
||||
struct registry_priv *registry_par = &padapter->registrypriv;
|
||||
|
||||
;
|
||||
|
||||
GlobalDebugLevel = rtw_debug;
|
||||
registry_par->chip_version = (u8)rtw_chip_version;
|
||||
registry_par->rfintfs = (u8)rtw_rfintfs;
|
||||
|
@ -389,12 +385,10 @@ static uint loadparam( struct adapter *padapter, _nic_hdl pnetdev)
|
|||
registry_par->adaptor_info_caching_file_path[PATH_LENGTH_MAX-1]=0;
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_LAYER2_ROAMING
|
||||
registry_par->max_roaming_times = (u8)rtw_max_roaming_times;
|
||||
#ifdef CONFIG_INTEL_WIDI
|
||||
registry_par->max_roaming_times = (u8)rtw_max_roaming_times + 2;
|
||||
#endif /* CONFIG_INTEL_WIDI */
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_IOL
|
||||
registry_par->fw_iol = rtw_fw_iol;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue