From 1dfc05ad530e61d9f6f7d48c8ab85ac3ab6b4f85 Mon Sep 17 00:00:00 2001 From: KonstantIMP <43513955+KonstantIMP@users.noreply.github.com> Date: Sat, 8 May 2021 22:18:14 +0300 Subject: [PATCH] Add linux 5.12.x support Kernel with version >= 5.12.x doesnt support GRO_DROP so the driver must be updated --- os_dep/linux/recv_linux.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/os_dep/linux/recv_linux.c b/os_dep/linux/recv_linux.c index fc06a03..86a6d7d 100644 --- a/os_dep/linux/recv_linux.c +++ b/os_dep/linux/recv_linux.c @@ -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; }