Message ID | 20170309095950.5980-3-joerg.krause@embedded.rocks |
---|---|
State | Accepted |
Headers | show
Return-Path: <hostap-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3vf5Wd5L0hz9s7k for <incoming@patchwork.ozlabs.org>; Thu, 9 Mar 2017 21:01:17 +1100 (AEDT) Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="GUznG/Ng"; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=infradead.org header.i=@infradead.org header.b="lZajPwOY"; dkim=fail reason="key not found in DNS" (0-bit key; unprotected) header.d=embedded.rocks header.i=@embedded.rocks header.b="HdysKA9q"; dkim-atps=neutral DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=DAUQ3JrbtbTDA3b+Ty3vWWkuaLF8RTovc/Iy2OXPBq8=; b=GUznG/Ng+chEPM /tOb/kxQvif3vEk303rcAG08xCdDc55WOfe5R2GdtqzDlHhKAbx8YeCxUufPZ6YyBIAJDXBrdXbfW dQ+c0Ejq/PMc64FaCZmW51eHsPBT7JU38ECpNx2XWyghzka39EwrAu7ZmhqJ0SYCCOAZ7isIby0vL jomL8FLtihp7m2B9LBT852upvCsbTpXuUAjJUkKFlKDD186Q2KNMelS9YBx4Db8e6TKINZWZ86lwi SXVnYhR51Ug0hMDQzezKguTCzMkq6RuMPw6juKFLyw/zr02xhk6zQSyPWky6R61I1HMIcKhyt+nnE /Nd+ToOrLWkSUlyp+uaw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1clusD-00087H-GK; Thu, 09 Mar 2017 10:00:41 +0000 Received: from merlin.infradead.org ([2001:4978:20e::2]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1clusA-00083u-I3 for hostap@bombadil.infradead.org; Thu, 09 Mar 2017 10:00:38 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=merlin.20170209; h=Content-Transfer-Encoding:Content-Type: MIME-Version:References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Sender :Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=gBEDifFJBx/8IaBgrIAOHk706EjjgYMssrmpLZZHNGs=; b=lZajPwOYr1J1Ri3nGkQCP8iER5 8cOTTkvPMFRI1zTVy1U8r09QWhfRwYX7shwd/ehUqfH6EpasIfdFD445jsGECaiX/zAttVS2pPHE2 slHCNOu++tWHcKI4+tsE9tq+zoo04MgXxs0/2WT/e3+G9N0YbhtwPOEXIfKspsyRDWr8zdmROvU58 m3JWMrA2G8DLabjX8d+r1Ct1Pwwip2fEUW8WoH3OjSb7Qksejg5Py/kqNZbche77Ngf368vyn9d5O DK5j9tYrY8hKYGaJdjqS2pdqM2h0aiKVyKOq2o+26dXvsTczZsZPA725N5JlTe2uR3gS8g6mCu0Kb ZLSlGfeQ==; Received: from mout02.posteo.de ([185.67.36.142]) by merlin.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1clus3-0008N3-Pf for Hostap@lists.infradead.org; Thu, 09 Mar 2017 10:00:37 +0000 Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 3vf5V93dr2z109Q for <Hostap@lists.infradead.org>; Thu, 9 Mar 2017 11:00:01 +0100 (CET) Authentication-Results: mail.embedded.rocks (amavisd-new); dkim=pass reason="pass (just generated, assumed good)" header.d=embedded.rocks DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=embedded.rocks; h=content-transfer-encoding:content-type:content-type :mime-version:references:in-reply-to:x-mailer:message-id:date :date:subject:subject:from:from:received:received; s=default; t= 1489053600; x=1489658401; bh=gBEDifFJBx/8IaBgrIAOHk706EjjgYMssrm pLZZHNGs=; b=HdysKA9ql0n0bzSiZzm/Q8WuP0k6iGXO97xOtu8fFdpT3f8fETH 4YPl/87rsoGR+maed+o6LkPVZmLYjTlzxhf/bAwqNnypkEMKt7navFKZnY78ypX9 qrdZ2mR8t6vr5JCeNAEbpW0rjte8u5JkstTsU4KUOA4rrpicgPUeBUL4zJruhhAZ Sim9W0xVi0G3vSUt8gcddWrB57j9YzI8KV/TGKg2HYFH3s0KJo5TuZPwQd/It0Rx U4W98wnyLiC8m2WTXBXrtghGyFdmyb1uXbV2Oxz2MNLJ+A2mW8cFTW49HoezqtZ8 b2eJARYJCJISf4DqsqjINgfIupUK7bkbp1Q== Received: from mail.embedded.rocks ([127.0.0.1]) by localhost (mail.embedded.rocks [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id kEe40wrwvvvt; Thu, 9 Mar 2017 11:00:00 +0100 (CET) Received: from nzxt.fritz.box (xd9bade61.dyn.telefonica.de [217.186.222.97]) (Authenticated sender: joerg.krause@embedded.rocks) by mail.embedded.rocks (Postfix) with ESMTPSA; Thu, 9 Mar 2017 11:00:00 +0100 (CET) From: =?UTF-8?q?J=C3=B6rg=20Krause?= <joerg.krause@embedded.rocks> To: Hostap@lists.infradead.org Subject: [PATCH 3/3] wpa_cli: Execute action file in case of WPS_EVENT_TIMEOUT Date: Thu, 9 Mar 2017 10:59:50 +0100 Message-Id: <20170309095950.5980-3-joerg.krause@embedded.rocks> X-Mailer: git-send-email 2.12.0 In-Reply-To: <20170309095950.5980-1-joerg.krause@embedded.rocks> References: <20170309095950.5980-1-joerg.krause@embedded.rocks> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170309_050031_978692_E5F27784 X-CRM114-Status: UNSURE ( 7.01 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -2.5 (--) X-Spam-Report: SpamAssassin version 3.4.1 on merlin.infradead.org summary: Content analysis details: (-2.5 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [185.67.36.142 listed in list.dnswl.org] -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid 0.0 T_DKIM_INVALID DKIM-Signature header exists but is not valid X-BeenThere: hostap@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: <hostap.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/hostap>, <mailto:hostap-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/hostap/> List-Post: <mailto:hostap@lists.infradead.org> List-Help: <mailto:hostap-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/hostap>, <mailto:hostap-request@lists.infradead.org?subject=subscribe> Cc: =?UTF-8?q?J=C3=B6rg=20Krause?= <joerg.krause@embedded.rocks> Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Sender: "Hostap" <hostap-bounces@lists.infradead.org> Errors-To: hostap-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org |
diff --git a/wpa_supplicant/wpa_cli.c b/wpa_supplicant/wpa_cli.c index f2228363b..ac564f1bc 100644 --- a/wpa_supplicant/wpa_cli.c +++ b/wpa_supplicant/wpa_cli.c @@ -3764,6 +3764,8 @@ static void wpa_cli_action_process(const char *msg) wpa_cli_exec(action_file, ifname, pos); } else if (str_starts(pos, WPS_EVENT_ACTIVE)) { wpa_cli_exec(action_file, ifname, pos); + } else if (str_starts(pos, WPS_EVENT_TIMEOUT)) { + wpa_cli_exec(action_file, ifname, pos); } else if (str_starts(pos, WPS_EVENT_FAIL)) { wpa_cli_exec(action_file, ifname, pos); } else if (str_starts(pos, AP_STA_CONNECTED)) {
Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks> --- wpa_supplicant/wpa_cli.c | 2 ++ 1 file changed, 2 insertions(+)