From f119d1bc1801c4405ab3ee97ec4ff521b1eec93c Mon Sep 17 00:00:00 2001 From: Rin Cat Date: Fri, 12 Jul 2019 05:51:03 -0400 Subject: [PATCH] Linux 5.2 compat: rtw_select_queue() --- os_dep/linux/os_intfs.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/os_dep/linux/os_intfs.c b/os_dep/linux/os_intfs.c index a8855a7..129d92a 100644 --- a/os_dep/linux/os_intfs.c +++ b/os_dep/linux/os_intfs.c @@ -1298,7 +1298,9 @@ static u16 rtw_select_queue(struct net_device *dev, struct sk_buff *skb , void *accel_priv #endif #if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 14, 0) - , select_queue_fallback_t fallback + #if LINUX_VERSION_CODE < KERNEL_VERSION(5, 2, 0) + , select_queue_fallback_t fallback + #endif #endif #endif )