Files
build/patch/misc/wireless-rtl8723cs/8723cs-Port-to-5.12.patch
Paolo Sabatino 6132e2c0fd consolidation of rtl8723cs staging driver for kernel 6.1 onwards
* main source for driver and patches are sunxi64 megous patches
* move into patch/misc/wireless-rtl8723cs directory
* integrate with minor patches from rk322x/rockchip64 families
* update drivers_network.sh to apply patches in same order as before
* remove references from patches.megous and series.conf in sunxi64
* remove patches from rk322x and rockchip64 family patches
* do not touch kernel archives older than 6.1
2023-03-08 11:54:31 +01:00

28 lines
1009 B
Diff

From e39685e57878934a245c30272b2bd40fafb877d3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Ond=C5=99ej=20Jirman?= <megi@xff.cz>
Date: Tue, 23 Feb 2021 19:08:13 +0100
Subject: [PATCH 128/389] 8723cs: Port to 5.12
---
drivers/staging/rtl8723cs/os_dep/linux/recv_linux.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/staging/rtl8723cs/os_dep/linux/recv_linux.c b/drivers/staging/rtl8723cs/os_dep/linux/recv_linux.c
index 13cd7660ac7e..d1a908a07437 100644
--- a/drivers/staging/rtl8723cs/os_dep/linux/recv_linux.c
+++ b/drivers/staging/rtl8723cs/os_dep/linux/recv_linux.c
@@ -405,8 +405,8 @@ static int napi_recv(_adapter *padapter, int budget)
So, we should prevent cloned SKB go into napi_gro_receive.
*/
if (pregistrypriv->en_gro && !skb_cloned(pskb)) {
- if (rtw_napi_gro_receive(&padapter->napi, pskb) != GRO_DROP)
- rx_ok = _TRUE;
+ rtw_napi_gro_receive(&padapter->napi, pskb);
+ rx_ok = _TRUE;
goto next;
}
#endif /* CONFIG_RTW_GRO */
--
2.35.3