rtl8821cu: workaround for bad efuse in EDUP EP-AC1661.

This commit is contained in:
Sorgelig
2021-09-07 21:18:46 +08:00
parent 80f1520f28
commit 39e14593a4
2 changed files with 7 additions and 2 deletions

View File

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

View File

@@ -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 */