Linux 5.2 compat: rtw_select_queue()

This commit is contained in:
Rin Cat 2019-07-12 05:51:03 -04:00
parent feb2d44c52
commit 866f961a47

View File

@ -1340,9 +1340,11 @@ 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)
#if LINUX_VERSION_CODE < KERNEL_VERSION(5, 2, 0)
, select_queue_fallback_t fallback
#endif
#endif
#endif
)
{
_adapter *padapter = rtw_netdev_priv(dev);