Added kernel v5.2 support

This commit is contained in:
kimocoder 2019-05-24 17:30:57 +02:00
parent f012a86356
commit 3586c3f35b
3 changed files with 12 additions and 14 deletions

View File

@ -63,8 +63,6 @@ unmanaged-devices=mac:A7:A7:A7:A7:A7
* Check code with checkpatch.pl (found in "tools")
* pcap_activate error on "reaver" - investigate
* Add/upload the documentation
* Add more VID/PIDS for all 3 chipsets supported.
* Remove unused functions
<br>

View File

@ -1,5 +1,5 @@
PACKAGE_NAME="realtek-rtl8188eus"
PACKAGE_VERSION="5.3.9~20190215"
PACKAGE_VERSION="5.3.9~20190523"
CLEAN="'make' clean"
BUILT_MODULE_NAME[0]=8188eu
PROCS_NUM=`nproc`

View File

@ -1289,18 +1289,18 @@ unsigned int rtw_classify8021d(struct sk_buff *skb)
}
static u16 rtw_select_queue(struct net_device *dev, struct sk_buff *skb
#if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 13, 0)
#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 19, 0)
, void *accel_priv
#else
, struct net_device *sb_dev
#endif
#if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 14, 0)
, select_queue_fallback_t fallback
#endif
#if (LINUX_VERSION_CODE >= KERNEL_VERSION(5, 2, 0))
static u16 rtw_select_queue(struct net_device *dev, struct sk_buff *skb,
struct net_device *sb_dev)
#elif (LINUX_VERSION_CODE >= KERNEL_VERSION(4, 19, 0))
static u16 rtw_select_queue(struct net_device *dev, struct sk_buff *skb,
struct net_device *sb_dev,
select_queue_fallback_t fallback)
#else
static u16 rtw_select_queue(struct net_device *dev, struct sk_buff *skb,
void *accel_priv, select_queue_fallback_t fallback)
#endif
)
static u16 rtw_select_queue(struct net_device *dev, struct sk_buff *skb
{
_adapter *padapter = rtw_netdev_priv(dev);
struct mlme_priv *pmlmepriv = &padapter->mlmepriv;