mirror of
https://github.com/chinawrj/rtl8812au
synced 2024-12-01 01:12:20 +00:00
Merge pull request #10 from fariouche/v5.3.4
fixed compilation error (regression)
This commit is contained in:
commit
c4c498c877
@ -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