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