]> git.pld-linux.org Git - packages/rtl8812au.git/commitdiff
- start fixing build with linux 4.12
authorJan Rękorajski <baggins@pld-linux.org>
Mon, 31 Jul 2017 22:01:10 +0000 (00:01 +0200)
committerJan Rękorajski <baggins@pld-linux.org>
Mon, 31 Jul 2017 22:01:10 +0000 (00:01 +0200)
linux-4.12.patch [new file with mode: 0644]
rtl8812au.spec

diff --git a/linux-4.12.patch b/linux-4.12.patch
new file mode 100644 (file)
index 0000000..a35c922
--- /dev/null
@@ -0,0 +1,14 @@
+--- rtl8812au_linux-master/os_dep/linux/ioctl_cfg80211.c~      2017-07-31 23:54:36.000000000 +0200
++++ rtl8812au_linux-master/os_dep/linux/ioctl_cfg80211.c       2017-07-31 23:58:19.371143221 +0200
+@@ -5991,7 +5991,11 @@
+ #endif
+ #if defined(CONFIG_PM) && (LINUX_VERSION_CODE >= KERNEL_VERSION(3, 0, 0))
++#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 12, 0)
++      wiphy->max_sched_scan_reqs = 1;
++#else
+       wiphy->flags |= WIPHY_FLAG_SUPPORTS_SCHED_SCAN;
++#endif
+ #ifdef CONFIG_PNO_SUPPORT
+       wiphy->max_sched_scan_ssids = MAX_PNO_LIST_COUNT;
+ #endif
index 6e1fc279a0b88da11772082ef8955747d237595d..bffa04767f989f61cfb0d90a95052afccabc1295 100644 (file)
@@ -35,6 +35,7 @@ Patch12:      linux-4.7.patch
 Patch13:       linux-4.8.patch
 Patch14:       linux-4.11.patch
 Patch15:       linux-4.11.9.patch
+Patch16:       linux-4.12.patch
 BuildRequires: rpmbuild(macros) >= 1.701
 %{expand:%buildrequires_kernel kernel%%{_alt_kernel}-module-build >= 3:2.6.20.2}
 BuildRoot:     %{tmpdir}/%{pname}-%{version}-root-%(id -u -n)
@@ -92,6 +93,7 @@ Driver for AC1200 (802.11ac) Wireless Dual-Band USB Adapter\
 %patch13 -p1
 %patch14 -p1
 %patch15 -p1
+%patch16 -p1
 
 %build
 %{expand:%build_kernel_packages}
This page took 0.086441 seconds and 4 git commands to generate.