1 From 6faa3eaf8916667cb7f4ab59923b3608e6ab7b18 Mon Sep 17 00:00:00 2001
2 From: gordboy <35108003+gordboy@users.noreply.github.com>
3 Date: Mon, 20 May 2019 21:29:44 +0100
4 Subject: [PATCH] Update README.md for 5.2 kernel fix
8 1 file changed, 1 insertion(+), 1 deletion(-)
10 diff --git a/README.md b/README.md
11 index 074018d..98238ab 100644
16 Only supports 8812AU chipset.
18 -Works fine with 5.1-rc1 kernel. Source now builds with no warnings or errors.
19 +Works fine with 5.2-rc1 kernel. Source now builds with no warnings or errors.
21 Greatly improved stability due to huge rewrite of phydm - "4 second glitch" seems to have been fixed, or at least vastly reduced, in driver version 5.2.20.2.
23 From b353639a70631dc6c88af3cbea1ff7b28b888630 Mon Sep 17 00:00:00 2001
24 From: Hansruedi Patzen <hp@revy.ch>
25 Date: Tue, 14 May 2019 15:10:12 +0200
26 Subject: [PATCH] linux-5.2: disable fallback from rtw_select_queue
28 The fallback parameter has been removed in the latest kernel (>= 5.2)
30 See: https://github.com/torvalds/linux/commit/a350eccee5830d9a1f29e393a88dc05a15326d44
32 os_dep/linux/os_intfs.c | 2 +-
33 1 file changed, 1 insertion(+), 1 deletion(-)
35 diff --git a/os_dep/linux/os_intfs.c b/os_dep/linux/os_intfs.c
36 index 5da6a49..49ce4d8 100644
37 --- a/os_dep/linux/os_intfs.c
38 +++ b/os_dep/linux/os_intfs.c
39 @@ -1286,7 +1286,7 @@ static u16 rtw_select_queue(struct net_device *dev, struct sk_buff *skb
41 , struct net_device *sb_dev
43 - #if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 14, 0)
44 + #if (LINUX_VERSION_CODE >= KERNEL_VERSION(3, 14, 0) && LINUX_VERSION_CODE < KERNEL_VERSION(5, 2, 0))
45 , select_queue_fallback_t fallback