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:18:14 +03:00 committed by GitHub
parent 9b4c60a89c
commit 1dfc05ad53
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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