diff options
author | Iyán Méndez Veiga | 2021-06-28 17:26:15 +0200 |
---|---|---|
committer | Iyán Méndez Veiga | 2021-06-28 17:26:15 +0200 |
commit | 26a75b0c9e467851d75356aab3d1140a5551ff72 (patch) | |
tree | 1730cfded20c8bed05a806c27488930582b3f8f1 | |
parent | f239687ad5a4718190433d1616afd71b637f4163 (diff) | |
download | aur-26a75b0c9e467851d75356aab3d1140a5551ff72.tar.gz |
Removed patch
-rw-r--r-- | .SRCINFO | 5 | ||||
-rw-r--r-- | 857.patch | 48 | ||||
-rw-r--r-- | PKGBUILD | 13 |
3 files changed, 4 insertions, 62 deletions
@@ -1,6 +1,6 @@ pkgbase = rtl88xxau-aircrack-dkms-git pkgdesc = Aircrack-ng kernel module for Realtek 88XXau (USB adapters only) network cards (8811au, 8812au and 8821au chipsets) with monitor mode and injection support - pkgver = r1159.3a64331 + pkgver = r1164.b8167e6 pkgrel = 1 url = https://github.com/aircrack-ng/rtl8812au arch = x86_64 @@ -14,10 +14,7 @@ pkgbase = rtl88xxau-aircrack-dkms-git conflicts = rtl8812au-inject-dkms-git source = rtl88xxau::git+https://github.com/aircrack-ng/rtl8812au.git#branch=v5.6.4.2 source = dkms.conf - source = 857.patch sha256sums = SKIP sha256sums = a1096f5141292aaf26e7556a170e8c9de86c4b6bb3fd3df48ee01996a223e56f - sha256sums = be1c0b9d9e0987461439d716e9964ed64a4d7ceac09ab5898734b2fecf66fc65 pkgname = rtl88xxau-aircrack-dkms-git - diff --git a/857.patch b/857.patch deleted file mode 100644 index ca176b0a1883..000000000000 --- a/857.patch +++ /dev/null @@ -1,48 +0,0 @@ -From 9b4c60a89c2a55f36454b950a86246b6b86a9681 Mon Sep 17 00:00:00 2001 -From: KonstantIMP <mihedovkos@gmail.com> -Date: Sat, 8 May 2021 22:14:57 +0300 -Subject: [PATCH 1/2] Add linux 5.12.x support Kernel with version >= 5.12.x - doesnt support GRO_DROP so the driver must be updated - ---- - os_dep/linux/recv_linux.c | 3 ++- - 1 file changed, 2 insertions(+), 1 deletion(-) - -diff --git a/os_dep/linux/recv_linux.c b/os_dep/linux/recv_linux.c -index 7fecc843..fc06a030 100644 ---- a/os_dep/linux/recv_linux.c -+++ b/os_dep/linux/recv_linux.c -@@ -359,7 +359,8 @@ static int napi_recv(_adapter *padapter, int budget) - if (rtw_napi_gro_receive(&padapter->napi, pskb) != GRO_DROP) - rx_ok = _TRUE; - #else -- rx_ok = _TRUE; -+ rtw_napi_gro_receive(&padapter->napi, pskb); -+ rx_ok = _TRUE; - #endif - goto next; - } - -From 1dfc05ad530e61d9f6f7d48c8ab85ac3ab6b4f85 Mon Sep 17 00:00:00 2001 -From: KonstantIMP <43513955+KonstantIMP@users.noreply.github.com> -Date: Sat, 8 May 2021 22:18:14 +0300 -Subject: [PATCH 2/2] Add linux 5.12.x support - -Kernel with version >= 5.12.x doesnt support GRO_DROP so the driver must be updated ---- - os_dep/linux/recv_linux.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/os_dep/linux/recv_linux.c b/os_dep/linux/recv_linux.c -index fc06a030..86a6d7d9 100644 ---- a/os_dep/linux/recv_linux.c -+++ b/os_dep/linux/recv_linux.c -@@ -360,7 +360,7 @@ static int napi_recv(_adapter *padapter, int budget) - rx_ok = _TRUE; - #else - rtw_napi_gro_receive(&padapter->napi, pskb); -- rx_ok = _TRUE; -+ rx_ok = _TRUE; - #endif - goto next; - } @@ -4,7 +4,7 @@ pkgname=rtl88xxau-aircrack-dkms-git _pkgbase=rtl88xxau -pkgver=r1159.3a64331 +pkgver=r1164.b8167e6 pkgrel=1 pkgdesc="Aircrack-ng kernel module for Realtek 88XXau (USB adapters only) network cards (8811au, 8812au and 8821au chipsets) with monitor mode and injection support" url="https://github.com/aircrack-ng/rtl8812au" @@ -15,12 +15,10 @@ depends=('dkms') conflicts=('rtl8812au-aircrack-dkms-git' 'rtl8812au-dkms-git' 'rtl8821au-dkms-git' 'rtl8814au-dkms-git' 'rtl8812au-inject-dkms-git') source=('rtl88xxau::git+https://github.com/aircrack-ng/rtl8812au.git#branch=v5.6.4.2' - 'dkms.conf' - '857.patch') + 'dkms.conf') sha256sums=('SKIP' - 'a1096f5141292aaf26e7556a170e8c9de86c4b6bb3fd3df48ee01996a223e56f' - 'be1c0b9d9e0987461439d716e9964ed64a4d7ceac09ab5898734b2fecf66fc65') + 'a1096f5141292aaf26e7556a170e8c9de86c4b6bb3fd3df48ee01996a223e56f') pkgver() { cd "${srcdir}/${_pkgbase}" @@ -30,11 +28,6 @@ pkgver() { ) } -prepare() { - cd "${srcdir}/${_pkgbase}" - patch --forward --strip=1 --input="${srcdir}/857.patch" -} - package() { cd "${srcdir}/${_pkgbase}" mkdir -p ${pkgdir}/usr/src/${_pkgbase}-${pkgver} |