]> git.pld-linux.org Git - packages/rtl8812au.git/commitdiff
- fix building with linux 4.8 auto/th/rtl8812au-4.3.2_11100.20140411-0.20140901.13
authorJan Rękorajski <baggins@pld-linux.org>
Tue, 11 Oct 2016 20:47:28 +0000 (22:47 +0200)
committerJan Rękorajski <baggins@pld-linux.org>
Tue, 11 Oct 2016 20:47:28 +0000 (22:47 +0200)
- rel 13

linux-4.8.patch [new file with mode: 0644]
rtl8812au.spec

diff --git a/linux-4.8.patch b/linux-4.8.patch
new file mode 100644 (file)
index 0000000..8cee88e
--- /dev/null
@@ -0,0 +1,17 @@
+--- rtl8812au_linux-master/os_dep/linux/ioctl_cfg80211.c.orig  2016-10-11 22:43:33.301619693 +0200
++++ rtl8812au_linux-master/os_dep/linux/ioctl_cfg80211.c       2016-10-11 22:45:03.937470268 +0200
+@@ -1946,7 +1946,14 @@
+               }
+               else
+               {
++#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 8, 0)
++              struct cfg80211_scan_info info = {
++                      .aborted = aborted
++              };
++                      cfg80211_scan_done(pwdev_priv->scan_request, &info);
++#else
+                       cfg80211_scan_done(pwdev_priv->scan_request, aborted);
++#endif
+               }
+               pwdev_priv->scan_request = NULL;
index 96928cfd24662fbd4d606bab400499c406a2d048..4950d7bbefdc9079a4f95feaf59f61f1194bb66b 100755 (executable)
@@ -4,7 +4,7 @@
 # nothing to be placed to debuginfo package
 %define                _enable_debug_packages  0
 
-%define                rel     12
+%define                rel     13
 %define                snap    20140901
 %define                pname   rtl8812au
 Summary:       Driver for AC1200 (802.11ac) Wireless Dual-Band USB Adapter
@@ -32,6 +32,7 @@ Patch9:               linux-4.2.patch
 Patch10:       linux-4.3.patch
 Patch11:       linux-4.6.patch
 Patch12:       linux-4.7.patch
+Patch13:       linux-4.8.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)
@@ -86,6 +87,7 @@ Driver for AC1200 (802.11ac) Wireless Dual-Band USB Adapter\
 %patch10 -p1
 %patch11 -p1
 %patch12 -p1
+%patch13 -p1
 
 %build
 %{expand:%build_kernel_packages}
This page took 0.204147 seconds and 4 git commands to generate.