diff --git a/README.md b/README.md index 925cb55..137eebd 100644 --- a/README.md +++ b/README.md @@ -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
diff --git a/dkms.conf b/dkms.conf index f6ad8ee..bbf7e55 100644 --- a/dkms.conf +++ b/dkms.conf @@ -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` diff --git a/os_dep/linux/os_intfs.c b/os_dep/linux/os_intfs.c index f3ba70c..3d49b3e 100644 --- a/os_dep/linux/os_intfs.c +++ b/os_dep/linux/os_intfs.c @@ -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;