Linux 5.2 compat: rtw_select_queue()

This commit is contained in:
Rin Cat 2019-07-12 05:51:03 -04:00
parent d53b283012
commit f119d1bc18

View File

@ -1298,7 +1298,9 @@ static u16 rtw_select_queue(struct net_device *dev, struct sk_buff *skb
, void *accel_priv , void *accel_priv
#endif #endif
#if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 14, 0) #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
#endif #endif
) )