File rtl8188eu-leap.patch of Package rtl8188eu

diff -rub a/include/wifi.h b/include/wifi.h
--- a/include/wifi.h	2020-01-15 10:28:50.030335000 +0600
+++ b/include/wifi.h	2020-01-15 11:20:31.366343156 +0600
@@ -730,7 +730,7 @@
  * According to IEEE802.11n spec size varies from 8K to 64K (in powers of 2)
  */
 #define IEEE80211_MIN_AMPDU_BUF 0x8
-#if (LINUX_VERSION_CODE < KERNEL_VERSION(4,19,0))
+#if (LINUX_VERSION_CODE < KERNEL_VERSION(4,12,0))
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 #endif
 
diff -rub a/os_dep/os_intfs.c b/os_dep/os_intfs.c
--- a/os_dep/os_intfs.c	2020-01-15 10:28:50.038335000 +0600
+++ b/os_dep/os_intfs.c	2020-01-15 11:35:48.688835284 +0600
@@ -659,7 +659,7 @@
 static u16 rtw_select_queue(struct net_device *dev, struct sk_buff *skb
 #if (LINUX_VERSION_CODE >= KERNEL_VERSION(5, 2, 0))
 			    ,struct net_device *sb_dev
-#elif (LINUX_VERSION_CODE >= KERNEL_VERSION(4, 19, 0))
+#elif (LINUX_VERSION_CODE >= KERNEL_VERSION(4, 12, 0))
 			    ,struct net_device *sb_dev
                             ,select_queue_fallback_t fallback
 #elif (LINUX_VERSION_CODE >= KERNEL_VERSION(3, 14, 0))
openSUSE Build Service is sponsored by