kumquat-buildroot/package/rtl8821au/0001-Fix-implicit-fallthrough-comments-for-kernel-5.3.patch
Peter Seiderer de61548933 package/rtl8821au: add two patches fixing compile/runtime for kernels >= 5.3
Add two patches from upstream merge request ([1] to fix compile
and runtime failures in case of linux kernel >= 5.3.

[1] https://github.com/abperiasamy/rtl8812AU_8821AU_linux/pull/316

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2020-06-20 22:52:04 +02:00

29 lines
907 B
Diff

From f41695e4069404639690d98c7aadfe72117965a6 Mon Sep 17 00:00:00 2001
From: Jesper Skov <jb1811@jyskebank.dk>
Date: Fri, 25 Oct 2019 10:05:41 +0200
Subject: [PATCH] Fix implicit fallthrough comments for kernel 5.3
[Upstram: https://github.com/abperiasamy/rtl8812AU_8821AU_linux/commit/e8a30a4c5a80efbbd5b1dbfe11b22916df4492f9.patch]
Signed-off-by: Peter Seiderer <ps.report@gmx.net>
---
core/rtw_mlme_ext.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/core/rtw_mlme_ext.c b/core/rtw_mlme_ext.c
index 24565ea..380f507 100644
--- a/core/rtw_mlme_ext.c
+++ b/core/rtw_mlme_ext.c
@@ -758,7 +758,9 @@ void mgt_dispatcher(_adapter *padapter, union recv_frame *precv_frame)
else
ptable->func = &OnAuthClient;
//pass through
+ //fallthrough
case WIFI_ASSOCREQ:
+ //fallthrough
case WIFI_REASSOCREQ:
_mgt_dispatcher(padapter, ptable, precv_frame);
#ifdef CONFIG_HOSTAPD_MLME
--
2.26.0