1
0
mirror of https://github.com/aircrack-ng/rtl8812au.git synced 2024-11-23 13:49:57 +00:00

Merge pull request #215 from kimocoder/v5.3.4

fixed compilation error (regression)
This commit is contained in:
Christian B 2018-10-08 21:16:13 +02:00 committed by GitHub
commit 0b5efc666c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2088,7 +2088,7 @@ void mpt_ProSetPMacTx(PADAPTER Adapter)
else
mpt_StopOfdmContTx(Adapter);
#if defined(CONFIG_RTL8814A)
if (IS_HARDWARE_TYPE_8814A(padapter))
if (IS_HARDWARE_TYPE_8814A(Adapter))
mpt_SetSingleTone_8814A(Adapter, FALSE, TRUE);
#endif
}
@ -2241,7 +2241,7 @@ void mpt_ProSetPMacTx(PADAPTER Adapter)
phy_set_bb_reg(Adapter, 0xb04, 0xf, 4); /* TX Ofdm ON */
#if defined(CONFIG_RTL8814A)
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);
}
#endif