os_dep: fix compilation warning and kernel 5.2 as per commit to 5.3.4

Adapted patch here: e013a161f8
This commit is contained in:
satmandu 2019-05-30 14:34:13 -04:00 committed by GitHub
parent cdf16c501f
commit 36ff7bcd7f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1364,7 +1364,8 @@ static u16 rtw_select_queue(struct net_device *dev, struct sk_buff *skb
#else
, void *accel_priv
#endif
#if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 14, 0)
#if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 14, 0) &&
LINUX_VERSION_CODE < KERNEL_VERSION(5, 2, 0))
, select_queue_fallback_t fallback
#endif
#endif