1
0
mirror of https://github.com/aircrack-ng/rtl8812au.git synced 2024-11-10 08:07:05 +00:00

phydm_ccx: Fix implicit enum conversion

This commit is contained in:
kimocoder 2020-02-01 09:29:07 +01:00
parent 62b8b0fc70
commit a1e42b5518

View File

@ -1364,7 +1364,7 @@ u8 phydm_clm_mntr_set(void *dm_void, struct clm_para_info *clm_para)
return PHYDM_SET_FAIL; return PHYDM_SET_FAIL;
} }
if (phydm_clm_racing_ctrl(dm, clm_para->clm_lv) == PHYDM_SET_FAIL) if (phydm_clm_racing_ctrl(dm, (enum phydm_nhm_level)clm_para->clm_lv) == PHYDM_SET_FAIL)
return PHYDM_SET_FAIL; return PHYDM_SET_FAIL;
if (clm_para->mntr_time >= 262) if (clm_para->mntr_time >= 262)