diff --git a/packages/linux-drivers/RTL8192DU/patches/aarch64/RTL8192DU-0101-PR63.patch b/packages/linux-drivers/RTL8192DU/patches/aarch64/RTL8192DU-0101-PR63.patch new file mode 100644 index 0000000000..0cabd59f81 --- /dev/null +++ b/packages/linux-drivers/RTL8192DU/patches/aarch64/RTL8192DU-0101-PR63.patch @@ -0,0 +1,25 @@ +From fb85a57a5cd6241cc8c066c5efc5b43781b0e42d Mon Sep 17 00:00:00 2001 +From: MilhouseVH +Date: Wed, 13 Jun 2018 06:43:10 +0100 +Subject: [PATCH] aarch64/4.4.y: implicit declaration of function + 'csum_ipv6_magic' + +--- + core/rtw_br_ext.c | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/core/rtw_br_ext.c b/core/rtw_br_ext.c +index da9c5e5..19af0fe 100644 +--- a/core/rtw_br_ext.c ++++ b/core/rtw_br_ext.c +@@ -51,6 +51,7 @@ + #include + #include + #include ++#include + #endif + #endif + +-- +2.14.1 + diff --git a/packages/linux-drivers/RTL8192DU/patches/aarch64/RTL8192DU-0102-fix-multiple-definitions.patch b/packages/linux-drivers/RTL8192DU/patches/aarch64/RTL8192DU-0102-fix-multiple-definitions.patch new file mode 100644 index 0000000000..04ca403f6e --- /dev/null +++ b/packages/linux-drivers/RTL8192DU/patches/aarch64/RTL8192DU-0102-fix-multiple-definitions.patch @@ -0,0 +1,26 @@ +diff --git a/include/ieee80211.h b/include/ieee80211.h +index 3c28a0b..2268fbd 100644 +--- a/include/ieee80211.h ++++ b/include/ieee80211.h +@@ -969,18 +969,18 @@ enum ieee80211_state { + #define MAC_FMT "%02x:%02x:%02x:%02x:%02x:%02x" + #define MAC_ARG(x) ((u8*)(x))[0],((u8*)(x))[1],((u8*)(x))[2],((u8*)(x))[3],((u8*)(x))[4],((u8*)(x))[5] + +-extern __inline int is_multicast_mac_addr(const u8 *addr) ++static __inline int is_multicast_mac_addr(const u8 *addr) + { + return ((addr[0] != 0xff) && (0x01 & addr[0])); + } + +-extern __inline int is_broadcast_mac_addr(const u8 *addr) ++static __inline int is_broadcast_mac_addr(const u8 *addr) + { + return ((addr[0] == 0xff) && (addr[1] == 0xff) && (addr[2] == 0xff) && \ + (addr[3] == 0xff) && (addr[4] == 0xff) && (addr[5] == 0xff)); + } + +-extern __inline int is_zero_mac_addr(const u8 *addr) ++static __inline int is_zero_mac_addr(const u8 *addr) + { + return ((addr[0] == 0x00) && (addr[1] == 0x00) && (addr[2] == 0x00) && \ + (addr[3] == 0x00) && (addr[4] == 0x00) && (addr[5] == 0x00));