mirror of
https://github.com/chinawrj/rtl8812au
synced 2024-11-27 15:44:18 +00:00
rtl8812a_phycfg: Workaround for clang bug 42576
This commit is contained in:
parent
ffd45bc496
commit
c1b3600035
@ -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(
|
||||
|
Loading…
Reference in New Issue
Block a user