1
0
mirror of https://github.com/morrownr/8821cu-20210916.git synced 2024-12-22 06:15:50 +00:00

comment code that could cause failure to iitialize

This commit is contained in:
morrownr 2022-12-14 12:31:54 -06:00
parent 679fa60748
commit 2400a9f306

View File

@ -1018,11 +1018,13 @@ pre_init_system_cfg_8821c(struct halmac_adapter *adapter)
enable_bb = 0;
set_hw_value_88xx(adapter, HALMAC_HW_EN_BB_RF, &enable_bb);
if (HALMAC_REG_R8(REG_SYS_CFG1 + 2) & BIT(4)) {
PLTFM_MSG_ERR("[ERR]test mode!!\n");
return HALMAC_RET_WLAN_MODE_FAIL;
}
/* nrm
* if (HALMAC_REG_R8(REG_SYS_CFG1 + 2) & BIT(4)) {
* PLTFM_MSG_ERR("[ERR]test mode!!\n");
* return HALMAC_RET_WLAN_MODE_FAIL;
* }
*/
PLTFM_MSG_TRACE("[TRACE]%s <===\n", __func__);
return HALMAC_RET_SUCCESS;