From 6c0a78ea31e0cb07432e38b630558a2847e47267 Mon Sep 17 00:00:00 2001 From: heitbaum Date: Mon, 6 Dec 2021 22:57:03 +0000 Subject: [PATCH] RTL8192DU: update githash to support 5.15.x --- packages/linux-drivers/RTL8192DU/package.mk | 4 +- .../RTL8192DU/patches/5-15-0.patch | 61 ------------------- 2 files changed, 2 insertions(+), 63 deletions(-) delete mode 100644 packages/linux-drivers/RTL8192DU/patches/5-15-0.patch diff --git a/packages/linux-drivers/RTL8192DU/package.mk b/packages/linux-drivers/RTL8192DU/package.mk index 021257b39a..1148456df7 100644 --- a/packages/linux-drivers/RTL8192DU/package.mk +++ b/packages/linux-drivers/RTL8192DU/package.mk @@ -3,8 +3,8 @@ # Copyright (C) 2018-present Team LibreELEC (https://libreelec.tv) PKG_NAME="RTL8192DU" -PKG_VERSION="331ec03d89d0c0ebe771c4011846f029f6af33d3" -PKG_SHA256="74e173b96d366ad50a0634fe98a8e55dc865276cd07de8fd635eaa4d5f71dae4" +PKG_VERSION="6e6d6fc16b21d5ff200ec1122dd009c8c01ab61d" +PKG_SHA256="c91f4907adebe5f9474b8477334230d0dadd3feb376ca6f44b5a74ffac02605f" PKG_LICENSE="GPL" PKG_SITE="https://github.com/lwfinger/rtl8192du" PKG_URL="https://github.com/lwfinger/rtl8192du/archive/${PKG_VERSION}.tar.gz" diff --git a/packages/linux-drivers/RTL8192DU/patches/5-15-0.patch b/packages/linux-drivers/RTL8192DU/patches/5-15-0.patch deleted file mode 100644 index 92130e1cb2..0000000000 --- a/packages/linux-drivers/RTL8192DU/patches/5-15-0.patch +++ /dev/null @@ -1,61 +0,0 @@ ---- a/core/rtw_br_ext.c 2021-10-10 13:28:28.410328649 +1100 -+++ b/core/rtw_br_ext.c 2021-10-10 13:28:28.410328649 +1100 -@@ -22,7 +22,10 @@ - #ifdef __KERNEL__ - #include - #include -+#include -+#if LINUX_VERSION_CODE < KERNEL_VERSION(5, 15, 0) - #include -+#endif - #include - #include - #include -@@ -175,6 +175,7 @@ - } - - -+#ifdef _NET_INET_IPX_H_ - static __inline__ void __nat25_generate_ipx_network_addr_with_node(unsigned char *networkAddr, - unsigned int *ipxNetAddr, unsigned char *ipxNodeAddr) - { -@@ -195,6 +196,7 @@ - memcpy(networkAddr+1, (unsigned char *)ipxNetAddr, 4); - memcpy(networkAddr+5, (unsigned char *)ipxSocketAddr, 2); - } -+#endif - - - static __inline__ void __nat25_generate_apple_network_addr(unsigned char *networkAddr, -@@ -341,6 +343,7 @@ - - return x & (NAT25_HASH_SIZE - 1); - } -+#ifdef _NET_INET_IPX_H_ - else if(networkAddr[0] == NAT25_IPX) - { - unsigned long x; -@@ -350,6 +353,7 @@ - - return x & (NAT25_HASH_SIZE - 1); - } -+#endif - else if(networkAddr[0] == NAT25_APPLE) - { - unsigned long x; -@@ -932,6 +936,7 @@ - } - } - -+#ifdef _NET_INET_IPX_H_ - /*---------------------------------------------------*/ - /* Handle IPX and Apple Talk frame */ - /*---------------------------------------------------*/ -@@ -1195,6 +1200,7 @@ - - return -1; - } -+#endif - - /*---------------------------------------------------*/ - /* Handle PPPoE frame */