Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package rtl8812au for openSUSE:Factory 
checked in at 2021-05-12 19:32:00
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/rtl8812au (Old)
 and      /work/SRC/openSUSE:Factory/.rtl8812au.new.2988 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "rtl8812au"

Wed May 12 19:32:00 2021 rev:13 rq:892384 version:5.9.3.2+git20210427.6ef5d8f

Changes:
--------
--- /work/SRC/openSUSE:Factory/rtl8812au/rtl8812au.changes      2021-03-11 
20:13:14.896756684 +0100
+++ /work/SRC/openSUSE:Factory/.rtl8812au.new.2988/rtl8812au.changes    
2021-05-12 19:32:29.842974047 +0200
@@ -1,0 +2,15 @@
+Wed May 12 06:21:36 UTC 2021 - Antonio Larrosa <alarr...@suse.com>
+
+- Add patch to build with Leap 15.3's kernel which includes
+  backported patches to support update_mgmt_frame_registrations
+  instead of mgmt_frame_register which would be expected
+  according to the kernel version:
+  * fix-backported-update_mgmt_frame_registrations.patch
+
+-------------------------------------------------------------------
+Tue May 11 21:50:35 UTC 2021 - Victor Kwan <vkw...@uwo.ca>
+
+- Update to 5.9.3.2+git20210427.6ef5d8f
+  * Works with kernel 5.12.
+
+-------------------------------------------------------------------

Old:
----
  rtl8812au-5.9.3.2+git20210302.d1bf6df.obscpio

New:
----
  fix-backported-update_mgmt_frame_registrations.patch
  rtl8812au-5.9.3.2+git20210427.6ef5d8f.obscpio

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ rtl8812au.spec ++++++
--- /var/tmp/diff_new_pack.te03gQ/_old  2021-05-12 19:32:30.894969845 +0200
+++ /var/tmp/diff_new_pack.te03gQ/_new  2021-05-12 19:32:30.898969829 +0200
@@ -17,7 +17,7 @@
 
 
 Name:           rtl8812au
-Version:        5.9.3.2+git20210302.d1bf6df
+Version:        5.9.3.2+git20210427.6ef5d8f
 Release:        0
 Summary:        Kernel driver for Realtek 802.11ac 8812au wifi cards
 License:        GPL-2.0-only
@@ -28,6 +28,8 @@
 Source2:        LICENSE
 # PATCH-FIX-OPENSUSE fix-backported-ndo_select_queue.patch
 Patch0:         fix-backported-ndo_select_queue.patch
+# PATCH-FIX-OPENSUSE fix-backported-update_mgmt_frame_registrations.patch
+Patch1:         fix-backported-update_mgmt_frame_registrations.patch
 BuildRequires:  %{kernel_module_package_buildreqs}
 BuildRequires:  bc
 BuildRequires:  binutils
@@ -65,6 +67,10 @@
 %patch0 -p1
 %endif
 
+%if 0%{?sle_version} == 150300
+%patch1 -p1
+%endif
+
 set -- *
 mkdir source
 mv "$@" source/

++++++ fix-backported-update_mgmt_frame_registrations.patch ++++++
From: Antonio Larrosa <alarr...@suse.com>
Subject: Fix build with SLE 15-SP3 / Leap 15.3

The SLE 15 SP3/Leap 15.3's kernel includes
backported patches to support update_mgmt_frame_registrations
instead of mgmt_frame_register which would be expected
according to the kernel version, so we force to use the
more modern interface.

Index: rtl8812au-5.9.3.2+git20210427.6ef5d8f/os_dep/linux/ioctl_cfg80211.c
===================================================================
--- rtl8812au-5.9.3.2+git20210427.6ef5d8f.orig/os_dep/linux/ioctl_cfg80211.c
+++ rtl8812au-5.9.3.2+git20210427.6ef5d8f/os_dep/linux/ioctl_cfg80211.c
@@ -7902,7 +7902,7 @@ exit:
        return ret;
 }
 
-#if (LINUX_VERSION_CODE < KERNEL_VERSION(5, 8, 0))
+#if (LINUX_VERSION_CODE < KERNEL_VERSION(5, 3, 18))
 static void cfg80211_rtw_mgmt_frame_register(struct wiphy *wiphy,
 #if (LINUX_VERSION_CODE >= KERNEL_VERSION(3, 6, 0))
        struct wireless_dev *wdev,
@@ -10394,7 +10394,7 @@ static struct cfg80211_ops rtw_cfg80211_
 
 #if (LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 37)) || 
defined(COMPAT_KERNEL_RELEASE)
        .mgmt_tx = cfg80211_rtw_mgmt_tx,
-#if (LINUX_VERSION_CODE < KERNEL_VERSION(5, 8, 0))
+#if (LINUX_VERSION_CODE < KERNEL_VERSION(5, 3, 18))
        .mgmt_frame_register = cfg80211_rtw_mgmt_frame_register,
 #else
        .update_mgmt_frame_registrations = 
cfg80211_rtw_update_mgmt_frame_register,
++++++ rtl8812au-5.9.3.2+git20210302.d1bf6df.obscpio -> 
rtl8812au-5.9.3.2+git20210427.6ef5d8f.obscpio ++++++
/work/SRC/openSUSE:Factory/rtl8812au/rtl8812au-5.9.3.2+git20210302.d1bf6df.obscpio
 
/work/SRC/openSUSE:Factory/.rtl8812au.new.2988/rtl8812au-5.9.3.2+git20210427.6ef5d8f.obscpio
 differ: char 28, line 1

++++++ rtl8812au.obsinfo ++++++
--- /var/tmp/diff_new_pack.te03gQ/_old  2021-05-12 19:32:30.990969461 +0200
+++ /var/tmp/diff_new_pack.te03gQ/_new  2021-05-12 19:32:30.990969461 +0200
@@ -1,5 +1,5 @@
 name: rtl8812au
-version: 5.9.3.2+git20210302.d1bf6df
-mtime: 1614700034
-commit: d1bf6dfdef9a14ee80768a80df1852312cee7925
+version: 5.9.3.2+git20210427.6ef5d8f
+mtime: 1619523090
+commit: 6ef5d8fcdb0b94b7490a9a38353877708fca2cd4
 

Reply via email to