mirror of
https://github.com/aircrack-ng/rtl8812au.git
synced 2024-11-22 13:24:36 +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)
|
||||
rx_ok = _TRUE;
|
||||
#else
|
||||
rx_ok = _TRUE;
|
||||
rtw_napi_gro_receive(&padapter->napi, pskb);
|
||||
rx_ok = _TRUE;
|
||||
#endif
|
||||
goto next;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user