mirror of
https://github.com/aircrack-ng/rtl8812au.git
synced 2024-11-27 07:34:04 +00:00
Merge pull request #215 from kimocoder/v5.3.4
fixed compilation error (regression)
This commit is contained in:
commit
0b5efc666c
@ -2088,7 +2088,7 @@ void mpt_ProSetPMacTx(PADAPTER Adapter)
|
|||||||
else
|
else
|
||||||
mpt_StopOfdmContTx(Adapter);
|
mpt_StopOfdmContTx(Adapter);
|
||||||
#if defined(CONFIG_RTL8814A)
|
#if defined(CONFIG_RTL8814A)
|
||||||
if (IS_HARDWARE_TYPE_8814A(padapter))
|
if (IS_HARDWARE_TYPE_8814A(Adapter))
|
||||||
mpt_SetSingleTone_8814A(Adapter, FALSE, TRUE);
|
mpt_SetSingleTone_8814A(Adapter, FALSE, TRUE);
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
@ -2241,7 +2241,7 @@ void mpt_ProSetPMacTx(PADAPTER Adapter)
|
|||||||
phy_set_bb_reg(Adapter, 0xb04, 0xf, 4); /* TX Ofdm ON */
|
phy_set_bb_reg(Adapter, 0xb04, 0xf, 4); /* TX Ofdm ON */
|
||||||
#if defined(CONFIG_RTL8814A)
|
#if defined(CONFIG_RTL8814A)
|
||||||
if (PMacTxInfo.Mode == OFDM_Single_Tone_TX) {
|
if (PMacTxInfo.Mode == OFDM_Single_Tone_TX) {
|
||||||
if (IS_HARDWARE_TYPE_8814A(padapter))
|
if (IS_HARDWARE_TYPE_8814A(Adapter))
|
||||||
mpt_SetSingleTone_8814A(Adapter, TRUE, TRUE);
|
mpt_SetSingleTone_8814A(Adapter, TRUE, TRUE);
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user