From 76c1792fb5b4c1ee59dcade4329d28653510b3e0 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 63f5f0b..8b8a389 100644 --- a/os_dep/linux/os_intfs.c +++ b/os_dep/linux/os_intfs.c @@ -1340,7 +1340,9 @@ static u16 rtw_select_queue(struct net_device *dev, struct sk_buff *skb #if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 13, 0) , void *accel_priv #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 )