1
0
mirror of https://github.com/aircrack-ng/rtl8812au.git synced 2024-11-05 02:55:44 +00:00

rtl8812a_phycfg: Workaround for clang bug 42576

This commit is contained in:
kimocoder 2020-02-01 09:27:35 +01:00
parent ffd45bc496
commit c1b3600035

View File

@ -1465,6 +1465,7 @@ phy_SwBand8812(
return ret_value;
}
#pragma clang optimize off
u8
phy_GetSecondaryChnl_8812(
IN PADAPTER Adapter
@ -1506,6 +1507,7 @@ phy_GetSecondaryChnl_8812(
/*RTW_INFO("SCMapping: SC Value %x\n", ((SCSettingOf40 << 4) | SCSettingOf20));*/
return (SCSettingOf40 << 4) | SCSettingOf20;
}
#pragma clang optimize on
VOID
phy_SetRegBW_8812(