Fixed 5.12 support.

This commit is contained in:
Carlos Garcés 2021-05-10 19:06:13 +02:00
parent ab35c7e967
commit 09c5222d59

View File

@ -359,6 +359,7 @@ 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
rtw_napi_gro_receive(&padapter->napi, pskb);
rx_ok = _TRUE; rx_ok = _TRUE;
#endif #endif
goto next; goto next;