mirror of
https://github.com/aircrack-ng/rtl8812au.git
synced 2024-11-22 13:24:36 +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;
|
return ret_value;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#pragma clang optimize off
|
||||||
u8
|
u8
|
||||||
phy_GetSecondaryChnl_8812(
|
phy_GetSecondaryChnl_8812(
|
||||||
IN PADAPTER Adapter
|
IN PADAPTER Adapter
|
||||||
@ -1506,6 +1507,7 @@ phy_GetSecondaryChnl_8812(
|
|||||||
/*RTW_INFO("SCMapping: SC Value %x\n", ((SCSettingOf40 << 4) | SCSettingOf20));*/
|
/*RTW_INFO("SCMapping: SC Value %x\n", ((SCSettingOf40 << 4) | SCSettingOf20));*/
|
||||||
return (SCSettingOf40 << 4) | SCSettingOf20;
|
return (SCSettingOf40 << 4) | SCSettingOf20;
|
||||||
}
|
}
|
||||||
|
#pragma clang optimize on
|
||||||
|
|
||||||
VOID
|
VOID
|
||||||
phy_SetRegBW_8812(
|
phy_SetRegBW_8812(
|
||||||
|
Loading…
Reference in New Issue
Block a user