Message ID | 20170309095950.5980-2-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 3vf5Wc5zQMz9s7n for <incoming@patchwork.ozlabs.org>; Thu, 9 Mar 2017 21:01:16 +1100 (AEDT) Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="lm0/n2Le"; dkim=fail reason="key not found in DNS" (0-bit key; unprotected) header.d=embedded.rocks header.i=@embedded.rocks header.b="TcuF012P"; 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=+kwP4rfM246aJblGowWtgW8dlXRcUEFm5MK1sQOPaKg=; b=lm0/n2LeAFKzS4 35qy6/N0fxH+YTVJKHpoQ+F/sAL4h2T0GBDW8iqAqUMPFwf0LACTv3W03cO7P+LK6BoOFT2oJirmA i3pPGx4gWazB76B5QH3FoFxwwqsrj9nZc4spysxYm2lscJFriOaadjKl2hEmsBGPSRAmf3QrFaTg8 0mZj3uJyCizK/3dzzfI9Pe6Cvxm0VQPDwPmTLyVMLGZ7CpwNKgTtO1XyL7sNWe4tU+Xm3oGGgH2CT rXjbK2x9+DWYhORNrvfSGlSMp+8sQps9TeYi9K8lQXdimtD3XaaZdqh2EbOKpwP5OaYZRMPlyJAuF XympJK+LRYvMlXofotxw==; 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 1clus6-0007ya-Tv; Thu, 09 Mar 2017 10:00:34 +0000 Received: from mout02.posteo.de ([185.67.36.142]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1clurz-0006B8-Ev for Hostap@lists.infradead.org; Thu, 09 Mar 2017 10:00:33 +0000 Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 3vf5V86C9Dz109Q for <Hostap@lists.infradead.org>; Thu, 9 Mar 2017 11:00:00 +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= 1489053599; x=1489658400; bh=0suUNXL2GzO7CPKklT5LzYBMP7nhcheDmFa 62FxiFTM=; b=TcuF012P8jGxOW6EJxpJdZtcTW6338rSaPRV3ulpHtpUmxTQnb2 D049wJxG6vfQa6/hLwBybd7cO7wq32UHP+qc5afyxX5kkGfvpMYQAUo7SdPJWB2r 6gmg0M1pC3ZkNWLkAfxDnFj73HmKfWbUjxevcBpOdHP08DTWwT8oMFkdGmh2cOA8 NUK7AYh4nW3jcA8lbCVKmFXH6td8fKua/QuJWs0G5LeCGfEje7BwuJFrUZDND3jw xRplkm+npxol0145e7wU2R94vxMIcdMzOJ9+o6Qsi0znp21FBkpvETjh43dPQJzh 5J/f8JT7t6/LcKbfXRIyDxb+Vkfma4NYOuQ== 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 3jdGt0t9Q1pe; Thu, 9 Mar 2017 10:59:59 +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 10:59:59 +0100 (CET) From: =?UTF-8?q?J=C3=B6rg=20Krause?= <joerg.krause@embedded.rocks> To: Hostap@lists.infradead.org Subject: [PATCH 2/3] wpa_cli: Execute action file in case of WPS_EVENT_ACTIVE Date: Thu, 9 Mar 2017 10:59:49 +0100 Message-Id: <20170309095950.5980-2-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_020027_661339_07018E6E X-CRM114-Status: UNSURE ( 6.77 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -2.5 (--) X-Spam-Report: SpamAssassin version 3.4.1 on bombadil.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 964311c55..f2228363b 100644 --- a/wpa_supplicant/wpa_cli.c +++ b/wpa_supplicant/wpa_cli.c @@ -3762,6 +3762,8 @@ static void wpa_cli_action_process(const char *msg) wpa_cli_exec(action_file, ifname, pos); } else if (str_starts(pos, WPS_EVENT_SUCCESS)) { 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_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(+)