forked from pool/rtl8812au
Antonio Larrosa
9d356382f2
- Update to 5.6.4.2+git20200318.49e98ff * Upstream changed the github repository, so changed it to since the previous one is now marked as obsolete * Works with (at least) a 5.6rc5 kernel * Added device USB IDs. Added regdb files. * Removed LED control, which was added for driver version 5.2.20 * Users of NetworkManager need to add the following config option to /etc/NetworkManager/NetworkManager.conf: [device] wifi.scan-rand-mac-address=no - Rebase patch fix-backported-ndo_select_queue.patch OBS-URL: https://build.opensuse.org/request/show/791123 OBS-URL: https://build.opensuse.org/package/show/hardware/rtl8812au?expand=0&rev=18
20 lines
806 B
Diff
20 lines
806 B
Diff
From: Antonio Larrosa <alarrosa@suse.com>
|
|
Subject: Fix build with SLE 15-SP1 / Leap 15.1
|
|
|
|
The net_device.ndo_select_queue signature in SLE-15-SP1's 4.12 kernel
|
|
was backported from kernel 4.19 so we must actually support it from 4.12
|
|
|
|
Index: rtl8812au-5.2.20.2/os_dep/linux/os_intfs.c
|
|
===================================================================
|
|
--- rtl8812au-5.2.20.2.orig/os_dep/linux/os_intfs.c
|
|
+++ rtl8812au-5.2.20.2/os_dep/linux/os_intfs.c
|
|
@@ -1359,7 +1359,7 @@ unsigned int rtw_classify8021d(struct sk
|
|
|
|
static u16 rtw_select_queue(struct net_device *dev, struct sk_buff *skb
|
|
#if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 13, 0)
|
|
- #if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 19, 0)
|
|
+ #if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 12, 0)
|
|
, struct net_device *sb_dev
|
|
#else
|
|
, void *accel_priv
|