mirror of
https://github.com/MiSTer-devel/Linux-Kernel_MiSTer.git
synced 2026-04-19 03:04:24 +00:00
rtl8821cu: workaround for bad efuse in EDUP EP-AC1661.
This commit is contained in:
@@ -90,10 +90,10 @@ CONFIG_IP_R_MONITOR = n #arp VOQ and high rate
|
||||
CONFIG_RTW_UP_MAPPING_RULE = tos
|
||||
|
||||
########################## Debug ###########################
|
||||
CONFIG_RTW_DEBUG = y
|
||||
CONFIG_RTW_DEBUG = n
|
||||
# default log level is _DRV_INFO_ = 4,
|
||||
# please refer to "How_to_set_driver_debug_log_level.doc" to set the available level.
|
||||
CONFIG_RTW_LOG_LEVEL = 0
|
||||
CONFIG_RTW_LOG_LEVEL = 4
|
||||
|
||||
# enable /proc/net/rtlxxxx/ debug interfaces
|
||||
CONFIG_PROC_DEBUG = n
|
||||
|
||||
@@ -400,6 +400,11 @@ static u8 Hal_ReadRFEType(PADAPTER adapter, u8 *map, u8 mapvalid)
|
||||
hal->rfe_type = map[EEPROM_RFE_OPTION_8821C];
|
||||
if (0xFF != hal->rfe_type)
|
||||
goto exit;
|
||||
|
||||
// fix for bad EFUSE in EDUP EP-AC1661
|
||||
hal->rfe_type = map[EEPROM_RFE_OPTION_8821C-1];
|
||||
if (0xFF != hal->rfe_type)
|
||||
goto exit;
|
||||
}
|
||||
|
||||
/* error handle */
|
||||
|
||||
Reference in New Issue
Block a user