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