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

Add linux 5.12.x support

Kernel with version >= 5.12.x doesnt support GRO_DROP so the driver must be updated
This commit is contained in:
KonstantIMP 2021-05-08 22:14:57 +03:00
parent 3a64331a1c
commit 9b4c60a89c

View File

@ -359,6 +359,7 @@ static int napi_recv(_adapter *padapter, int budget)
if (rtw_napi_gro_receive(&padapter->napi, pskb) != GRO_DROP)
rx_ok = _TRUE;
#else
rtw_napi_gro_receive(&padapter->napi, pskb);
rx_ok = _TRUE;
#endif
goto next;