[arch-commits] Commit in iwd/trunk (PKGBUILD skip-associate-event.patch)

Christian Rebischke shibumi at archlinux.org
Tue Apr 9 21:56:25 UTC 2019


    Date: Tuesday, April 9, 2019 @ 21:56:24
  Author: shibumi
Revision: 450690

upgpkg: iwd 0.16-4

Applied the following patch for #62245:

The associate event is only important for OWE and FT. If neither of
these conditions (or FT initial association) are happening we do
not need to continue further processing the associate event.

See also: https://git.kernel.org/pub/scm/network/wireless/iwd.git/patch/?id=a71adcc243ac6263efa23390ca8bb82ae4841202

Added:
  iwd/trunk/skip-associate-event.patch
Modified:
  iwd/trunk/PKGBUILD

----------------------------+
 PKGBUILD                   |   10 +++++++---
 skip-associate-event.patch |   29 +++++++++++++++++++++++++++++
 2 files changed, 36 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-04-09 21:53:35 UTC (rev 450689)
+++ PKGBUILD	2019-04-09 21:56:24 UTC (rev 450690)
@@ -2,7 +2,7 @@
 
 pkgname=iwd
 pkgver=0.16
-pkgrel=3
+pkgrel=4
 pkgdesc='Internet Wireless Daemon'
 arch=('x86_64')
 url='https://git.kernel.org/cgit/network/wireless/iwd.git/'
@@ -9,14 +9,18 @@
 license=('LGPL')
 depends=('glibc')
 source=("https://www.kernel.org/pub/linux/network/wireless/iwd-${pkgver}.tar"{.xz,.sign}
-        'iwd.tmpfiles')
+        'iwd.tmpfiles'
+				'skip-associate-event.patch')
 sha512sums=('33b10516fb203eb92651e18ebff8448874452fad9425470bf4306b4d75a512d386561ed4fcd251c54175ac6953e29f6574175e4e9b18c88e55009f670f29ddb1'
             'SKIP'
-            '03a3a0fba53706ef46bb12e75ad0bc30969044662df5bdcebc608c57b6ab9c5b3b6944e7941549db3172577c7d86c42e39a06e285459663ae48032fd3ab697d4')
+            '03a3a0fba53706ef46bb12e75ad0bc30969044662df5bdcebc608c57b6ab9c5b3b6944e7941549db3172577c7d86c42e39a06e285459663ae48032fd3ab697d4'
+            'ff718504b871c2e66fc433d0da24e8f9e1c78d3dbb18d76693fba671109a878e737f9e3d40f3b7e736b53d758c931083db86c9f5ba54391e715cf847b01bbaf3')
 validpgpkeys=('E932D120BC2AEC444E558F0106CA9F5D1DCF2659')
 
 build() {
   cd "${srcdir}/${pkgname}-${pkgver}"
+	# patch for #62245: will be fixed in 0.17
+	patch -p1 < "${srcdir}/skip-associate-event.patch"
 	./configure --prefix=/usr \
 	--sysconfdir=/etc \
 	--libexecdir=/usr/lib/iwd \

Added: skip-associate-event.patch
===================================================================
--- skip-associate-event.patch	                        (rev 0)
+++ skip-associate-event.patch	2019-04-09 21:56:24 UTC (rev 450690)
@@ -0,0 +1,29 @@
+From a71adcc243ac6263efa23390ca8bb82ae4841202 Mon Sep 17 00:00:00 2001
+From: James Prestwood <james.prestwood at linux.intel.com>
+Date: Fri, 5 Apr 2019 15:32:54 -0700
+Subject: netdev: skip associate event when not in OWE/FT
+
+The associate event is only important for OWE and FT. If neither of
+these conditions (or FT initial association) are happening we do
+not need to continue further processing the associate event.
+---
+ src/netdev.c | 3 +++
+ 1 file changed, 3 insertions(+)
+
+diff --git a/src/netdev.c b/src/netdev.c
+index 661fb81..849ab2b 100644
+--- a/src/netdev.c
++++ b/src/netdev.c
+@@ -2389,6 +2389,9 @@ static void netdev_associate_event(struct l_genl_msg *msg,
+ 	if (netdev->aborting)
+ 		return;
+ 
++	if (!netdev->owe && !netdev->in_ft && !netdev->handshake->mde)
++		return;
++
+ 	if (!l_genl_attr_init(&attr, msg)) {
+ 		l_debug("attr init failed");
+ 		return;
+-- 
+cgit 1.2-0.3.lf.el7
+



More information about the arch-commits mailing list