Skip to contentSkip to conversation

package/rtl8821au: add two patches fixing compile/runtime for kernels >= 5.3

PATCH New Peter Seiderer 4 participants 4 messages Jun 15, 2020 – Jul 15, 2020

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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

---
 ...-fallthrough-comments-for-kernel-5.3.patch |  28 +++
 ...river-crashes-from-aircrack-ng-rtl88.patch | 168 ++++++++++++++++++
 2 files changed, 196 insertions(+)
 create mode 100644 package/rtl8821au/0001-Fix-implicit-fallthrough-comments-for-kernel-5.3.patch
 create mode 100644 package/rtl8821au/0002-Fix-kernel-5.3-driver-crashes-from-aircrack-ng-rtl88.patch
package/rtl8821au/0001-Fix-implicit-fallthrough-comments-for-kernel-5.3.patch new file +28 -0
new file mode 100644
index 0000000000..d323e8f938
@@ -0,0 +1,28 @@
+From f41695e4069404639690d98c7aadfe72117965a6 Mon Sep 17 00:00:00 2001
+From: Jesper Skov <[email protected]>
+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 <[email protected]>
+---
+ 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
+
package/rtl8821au/0002-Fix-kernel-5.3-driver-crashes-from-aircrack-ng-rtl88.patch new file +168 -0

168 lines not on this page · raw message

Signature · 1 line
2.27.0
#1 lore raw

PATCH 1/1 package/rtl8821au: add two patches fixing compile/runtime for kernels >= 5.3

Hi Peter,

package/rtl8821au/0001-Fix-implicit-fallthrough-comments-for-kernel-5.3.patch

Quoted 8 lines · Peter Seiderer

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

package/rtl8821au/0001-Fix-implicit-fallthrough-comments-for-kernel-5.3.patch new file +4 -0
+From: Jesper Skov <[email protected]>
+Subject: [PATCH] Fix implicit fallthrough comments for kernel 5.3
+From: Jesper Skov <[email protected]>
+Subject: [PATCH] Fix kernel 5.3 driver crashes, from aircrack-ng/rtl8812au#421

Thanks very much for submitting. While I can't vouch for the content of the patches (yet), I'll dig up some old rtl8821au USB cards and try this out.

Thanks,
Christian

#2 lore raw

PATCH 1/1 package/rtl8821au: add two patches fixing compile/runtime for kernels >= 5.3

In reply to Peter Seiderer
Quoted 5 lines · On Mon, 15 Jun 2020 20:59:11 +0200 Peter Seiderer <[email protected]> wrote:

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

Quoted 7 lines
---
 ...-fallthrough-comments-for-kernel-5.3.patch |  28 +++
 ...river-crashes-from-aircrack-ng-rtl88.patch | 168 ++++++++++++++++++
 2 files changed, 196 insertions(+)
 create mode 100644 package/rtl8821au/0001-Fix-implicit-fallthrough-comments-for-kernel-5.3.patch
 create mode 100644 package/rtl8821au/0002-Fix-kernel-5.3-driver-crashes-from-aircrack-ng-rtl88.patch

Applied to master, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
#3 lore raw

PATCH 1/1 package/rtl8821au: add two patches fixing compile/runtime for kernels >= 5.3

In reply to Peter Seiderer
Quoted 8 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Peter" == Peter Seiderer <[email protected]> writes:

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

Committed to 2020.02.x and 2020.05.x, thanks.

Signature · 1 line
Bye, Peter Korsgaard