From 6e3a21a333ed1e8df33fe072e2a1ac1c2aec0e80 Mon Sep 17 00:00:00 2001 From: Chih-Wei Huang Date: Mon, 27 Jul 2020 23:36:48 +0800 Subject: [PATCH] Fix incompatible pointer issue for kernel >= 5.2 --- rtl8723bu/os_dep/linux/os_intfs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rtl8723bu/os_dep/linux/os_intfs.c b/rtl8723bu/os_dep/linux/os_intfs.c index 3db32d9..2a46c98 100644 --- a/rtl8723bu/os_dep/linux/os_intfs.c +++ b/rtl8723bu/os_dep/linux/os_intfs.c @@ -750,7 +750,7 @@ static u16 rtw_select_queue(struct net_device *dev, struct sk_buff *skb #else , void *accel_priv #endif -#if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 14, 0) +#if (LINUX_VERSION_CODE >= KERNEL_VERSION(3, 14, 0)) && (LINUX_VERSION_CODE < KERNEL_VERSION(5, 2, 0)) , select_queue_fallback_t fallback #endif #endif -- 2.11.0