Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
{
struct hal_data_8723a *pHalData = GET_HAL_DATA(padapter);
- if (val == DYNAMIC_ALL_FUNC_ENABLE) {
- pHalData->dmpriv.DMFlag = pHalData->dmpriv.InitDMFlag;
+ if (val == DYNAMIC_ALL_FUNC_ENABLE)
pHalData->odmpriv.SupportAbility = pHalData->dmpriv.InitODMFlag;
- } else {
+ else
pHalData->odmpriv.SupportAbility |= val;
- }
}
void rtl8723a_odm_support_ability_clr(struct rtw_adapter *padapter, u32 val)
struct dm_odm_t *pDM_Odm = &pHalData->odmpriv;
u8 i;
- pdmpriv->DMFlag = DYNAMIC_FUNC_DISABLE;
-
-#ifdef CONFIG_8723AU_BT_COEXIST
- pdmpriv->DMFlag |= DYNAMIC_FUNC_BT;
-#endif
- pdmpriv->InitDMFlag = pdmpriv->DMFlag;
-
Update_ODM_ComInfo_8723a(Adapter);
ODM23a_DMInit(pDM_Odm);
/* Save REG_INIDATA_RATE_SEL value for TXDESC. */
/* duplicate code,will move to ODM ######### */
struct dm_priv
{
- u8 DMFlag;
- u8 InitDMFlag;
u32 InitODMFlag;
/* Upper and Lower Signal threshold for Rate Adaptive*/