Files
build/patch/misc/wireless-rtl8723cs/8723cs-Clear-wowlan_last_wake_reason-prior-to-suspend.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
931 B
Diff

From d3a862f7bdb4892e1da6a1e2fd8df48a72b0d6eb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Ond=C5=99ej=20Jirman?= <megi@xff.cz>
Date: Thu, 6 Jan 2022 15:04:18 +0100
Subject: [PATCH 134/389] 8723cs: Clear wowlan_last_wake_reason prior to
suspend
Signed-off-by: Ondrej Jirman <megi@xff.cz>
---
drivers/staging/rtl8723cs/os_dep/linux/os_intfs.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/staging/rtl8723cs/os_dep/linux/os_intfs.c b/drivers/staging/rtl8723cs/os_dep/linux/os_intfs.c
index c982c2d0447b..86572d7c17da 100644
--- a/drivers/staging/rtl8723cs/os_dep/linux/os_intfs.c
+++ b/drivers/staging/rtl8723cs/os_dep/linux/os_intfs.c
@@ -4904,6 +4904,8 @@ int rtw_suspend_wow(_adapter *padapter)
#endif
if (pwrpriv->wowlan_mode == _TRUE) {
+ pwrpriv->wowlan_last_wake_reason = 0;
+
rtw_mi_netif_stop_queue(padapter);
#ifdef CONFIG_CONCURRENT_MODE
rtw_mi_buddy_netif_carrier_off(padapter);
--
2.35.3