mirror of
https://github.com/chinawrj/rtl8812au
synced 2024-11-27 23:54:24 +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:
parent
3a64331a1c
commit
9b4c60a89c
@ -359,7 +359,8 @@ static int napi_recv(_adapter *padapter, int budget)
|
|||||||
if (rtw_napi_gro_receive(&padapter->napi, pskb) != GRO_DROP)
|
if (rtw_napi_gro_receive(&padapter->napi, pskb) != GRO_DROP)
|
||||||
rx_ok = _TRUE;
|
rx_ok = _TRUE;
|
||||||
#else
|
#else
|
||||||
rx_ok = _TRUE;
|
rtw_napi_gro_receive(&padapter->napi, pskb);
|
||||||
|
rx_ok = _TRUE;
|
||||||
#endif
|
#endif
|
||||||
goto next;
|
goto next;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user