[packages/rtl8812au] - updated to latest snapshot with support for kernels up to 5.12

baggins baggins at pld-linux.org
Mon May 3 08:07:53 CEST 2021


commit 31683857b24a5ee6e6821c167dc41bc6bd263c0e
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Mon May 3 08:07:26 2021 +0200

    - updated to latest snapshot with support for kernels up to 5.12

 kernel-5.11.patch | 14 --------------
 rtl8812au.spec    |  8 +++-----
 2 files changed, 3 insertions(+), 19 deletions(-)
---
diff --git a/rtl8812au.spec b/rtl8812au.spec
index 53b80c1..b7b2195 100644
--- a/rtl8812au.spec
+++ b/rtl8812au.spec
@@ -5,9 +5,9 @@
 # nothing to be placed to debuginfo package
 %define		_enable_debug_packages	0
 
-%define		rel	2
+%define		rel	1
 %define		basever	5.9.3.2
-%define		snap	20201218
+%define		snap	20205203
 %define		pname	rtl8812au
 Summary:	Driver for AC1200 (802.11ac) Wireless Dual-Band USB Adapter
 Name:		%{pname}%{_alt_kernel}
@@ -17,9 +17,8 @@ Release:	%{rel}%{?_pld_builder:@%{_kernel_ver_str}}
 License:	GPL
 Group:		Base/Kernel
 Source0:	https://github.com/gordboy/%{pname}-%{basever}/archive/main/%{pname}-%{basever}-%{snap}.tar.gz
-# Source0-md5:	b2516283a54880feaec4f3142223d614
+# Source0-md5:	2b10fc9d5b7af7aa6170779e7f1fa858
 Patch0:		designated_init.patch
-Patch1:		kernel-5.11.patch
 # good luck finding this chip on Realtek website :/
 #URL:		http://www.realtek.com.tw/
 URL:		https://github.com/gordboy/rtl8812au-5.9.3.2
@@ -65,7 +64,6 @@ Driver for AC1200 (802.11ac) Wireless Dual-Band USB Adapter\
 %prep
 %setup -q -n %{pname}-%{basever}-main
 %patch0 -p1
-%patch1 -p1
 
 %build
 %{expand:%build_kernel_packages}
diff --git a/kernel-5.11.patch b/kernel-5.11.patch
deleted file mode 100644
index 73fcba8..0000000
--- a/kernel-5.11.patch
+++ /dev/null
@@ -1,14 +0,0 @@
---- rtl8812au-5.9.3.2-main/os_dep/linux/ioctl_cfg80211.c.orig	2020-12-14 10:07:30.000000000 +0100
-+++ rtl8812au-5.9.3.2-main/os_dep/linux/ioctl_cfg80211.c	2021-02-25 22:21:04.529544070 +0100
-@@ -456,7 +456,11 @@
- 
- #if (LINUX_VERSION_CODE >= KERNEL_VERSION(3, 19, 0))
- 	if (started) {
-+#if (LINUX_VERSION_CODE >= KERNEL_VERSION(5, 11, 0))
-+		cfg80211_ch_switch_started_notify(adapter->pnetdev, &chdef, 0, false);
-+#else
- 		cfg80211_ch_switch_started_notify(adapter->pnetdev, &chdef, 0);
-+#endif
- 		goto exit;
- 	}
- #endif
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/rtl8812au.git/commitdiff/31683857b24a5ee6e6821c167dc41bc6bd263c0e



More information about the pld-cvs-commit mailing list