diff --git a/Makefile b/Makefile index 5bd74e7..e733262 100755 --- a/Makefile +++ b/Makefile @@ -1686,6 +1686,10 @@ $(MODULE_NAME)-$(CONFIG_MP_INCLUDED) += core/rtw_mp.o \ ifeq ($(CONFIG_RTL8723B), y) $(MODULE_NAME)-$(CONFIG_MP_INCLUDED)+= core/rtw_bt_mp.o endif +ifeq ($(CONFIG_RTL8821A), y) +$(MODULE_NAME)-$(CONFIG_MP_INCLUDED)+= core/rtw_bt_mp.o +endif + obj-$(CONFIG_RTL8814AU) := $(MODULE_NAME).o diff --git a/core/rtw_mp.c b/core/rtw_mp.c index c761b0a..c883bc6 100644 --- a/core/rtw_mp.c +++ b/core/rtw_mp.c @@ -607,8 +607,10 @@ MPT_InitializeAdapter( if (IS_HARDWARE_TYPE_8814A(pAdapter)) { pHalData->BackUp_IG_REG_4_Chnl_Section[0] = (u1Byte)PHY_QueryBBReg(pAdapter, rA_IGI_Jaguar, bMaskByte0); pHalData->BackUp_IG_REG_4_Chnl_Section[1] = (u1Byte)PHY_QueryBBReg(pAdapter, rB_IGI_Jaguar, bMaskByte0); +#ifdef CONFIG_RTL8814A pHalData->BackUp_IG_REG_4_Chnl_Section[2] = (u1Byte)PHY_QueryBBReg(pAdapter, rC_IGI_Jaguar2, bMaskByte0); pHalData->BackUp_IG_REG_4_Chnl_Section[3] = (u1Byte)PHY_QueryBBReg(pAdapter, rD_IGI_Jaguar2, bMaskByte0); +#endif } return rtStatus;