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") * 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. * Add more VID/PIDS for all 3 chipsets supported.
* Remove unused functions * Remove unused functions
<br> <br>

View File

@ -1,5 +1,5 @@
PACKAGE_NAME="realtek-rtl8188eus" PACKAGE_NAME="realtek-rtl8188eus"
PACKAGE_VERSION="5.3.9~20190215" PACKAGE_VERSION="5.3.9~20190523"
CLEAN="'make' clean" CLEAN="'make' clean"
BUILT_MODULE_NAME[0]=8188eu BUILT_MODULE_NAME[0]=8188eu
PROCS_NUM=`nproc` 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(5, 2, 0))
#if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 13, 0) static u16 rtw_select_queue(struct net_device *dev, struct sk_buff *skb,
#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 19, 0) struct net_device *sb_dev)
, void *accel_priv #elif (LINUX_VERSION_CODE >= KERNEL_VERSION(4, 19, 0))
#else static u16 rtw_select_queue(struct net_device *dev, struct sk_buff *skb,
, struct net_device *sb_dev struct net_device *sb_dev,
#endif select_queue_fallback_t fallback)
#if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 14, 0) #else
, select_queue_fallback_t fallback static u16 rtw_select_queue(struct net_device *dev, struct sk_buff *skb,
#endif void *accel_priv, select_queue_fallback_t fallback)
#endif #endif
) static u16 rtw_select_queue(struct net_device *dev, struct sk_buff *skb
{ {
_adapter *padapter = rtw_netdev_priv(dev); _adapter *padapter = rtw_netdev_priv(dev);
struct mlme_priv *pmlmepriv = &padapter->mlmepriv; struct mlme_priv *pmlmepriv = &padapter->mlmepriv;