From 3c1147c914c72d620b88ae6ac7ffe7978e2a0715 Mon Sep 17 00:00:00 2001 From: Sophie Brun Date: Tue, 21 Feb 2023 14:48:05 +0100 Subject: [PATCH] Refresh patches --- .../Fix-build-for-linux-kernel-5.17.patch | 29 ------------------- debian/patches/series | 1 - 2 files changed, 30 deletions(-) delete mode 100644 debian/patches/Fix-build-for-linux-kernel-5.17.patch diff --git a/debian/patches/Fix-build-for-linux-kernel-5.17.patch b/debian/patches/Fix-build-for-linux-kernel-5.17.patch deleted file mode 100644 index cae1732..0000000 --- a/debian/patches/Fix-build-for-linux-kernel-5.17.patch +++ /dev/null @@ -1,29 +0,0 @@ -From: Sophie Brun -Date: Tue, 21 Jun 2022 12:15:03 +0200 -Subject: Fix build for linux kernel >= 5.17 - -Origin: https://github.com/aircrack-ng/rtl8188eus/commit/0f1905259ec9b85fd1453be3abd322ff543e12bc ---- - include/ieee80211.h | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -diff --git a/include/ieee80211.h b/include/ieee80211.h -index 89d2eff..5d7ebe1 100644 ---- a/include/ieee80211.h -+++ b/include/ieee80211.h -@@ -1535,13 +1535,13 @@ extern __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) -+__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) -+__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)); diff --git a/debian/patches/series b/debian/patches/series index 0d23d6a..6e3040b 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -1,2 +1 @@ add-support-kernel-5.17.patch -Fix-build-for-linux-kernel-5.17.patch