From owner-dev-commits-src-branches@freebsd.org  Fri Aug 20 15:25:25 2021
Return-Path: <owner-dev-commits-src-branches@freebsd.org>
Delivered-To: dev-commits-src-branches@mailman.nyi.freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1])
 by mailman.nyi.freebsd.org (Postfix) with ESMTP id 460B3662544;
 Fri, 20 Aug 2021 15:25:25 +0000 (UTC) (envelope-from git@FreeBSD.org)
Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org
 [IPv6:2610:1c1:1:606c::19:3])
 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
 key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256
 client-signature RSA-PSS (4096 bits) client-digest SHA256)
 (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK))
 by mx1.freebsd.org (Postfix) with ESMTPS id 4Grlnd0wTfz4WjP;
 Fri, 20 Aug 2021 15:25:25 +0000 (UTC) (envelope-from git@FreeBSD.org)
Received: from gitrepo.freebsd.org (gitrepo.freebsd.org
 [IPv6:2610:1c1:1:6068::e6a:5])
 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
 key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256)
 (Client did not present a certificate)
 by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id F19D91B455;
 Fri, 20 Aug 2021 15:25:24 +0000 (UTC) (envelope-from git@FreeBSD.org)
Received: from gitrepo.freebsd.org ([127.0.1.44])
 by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 17KFPO65081647;
 Fri, 20 Aug 2021 15:25:24 GMT (envelope-from git@gitrepo.freebsd.org)
Received: (from git@localhost)
 by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 17KFPOGg081646;
 Fri, 20 Aug 2021 15:25:24 GMT (envelope-from git)
Date: Fri, 20 Aug 2021 15:25:24 GMT
Message-Id: <202108201525.17KFPOGg081646@gitrepo.freebsd.org>
To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org,
 dev-commits-src-branches@FreeBSD.org
From: Cy Schubert <cy@FreeBSD.org>
Subject: git: a3e54ad094ae - stable/13 - wpa: Add wpa_cli action file event
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
X-Git-Committer: cy
X-Git-Repository: src
X-Git-Refname: refs/heads/stable/13
X-Git-Reftype: branch
X-Git-Commit: a3e54ad094ae3b42156cc5fdbcbab0ac44c71925
Auto-Submitted: auto-generated
X-BeenThere: dev-commits-src-branches@freebsd.org
X-Mailman-Version: 2.1.34
Precedence: list
List-Id: Commits to the stable branches of the FreeBSD src repository
 <dev-commits-src-branches.freebsd.org>
List-Unsubscribe: <https://lists.freebsd.org/mailman/options/dev-commits-src-branches>, 
 <mailto:dev-commits-src-branches-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/dev-commits-src-branches/>
List-Post: <mailto:dev-commits-src-branches@freebsd.org>
List-Help: <mailto:dev-commits-src-branches-request@freebsd.org?subject=help>
List-Subscribe: <https://lists.freebsd.org/mailman/listinfo/dev-commits-src-branches>, 
 <mailto:dev-commits-src-branches-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Fri, 20 Aug 2021 15:25:25 -0000

The branch stable/13 has been updated by cy:

URL: https://cgit.FreeBSD.org/src/commit/?id=a3e54ad094ae3b42156cc5fdbcbab0ac44c71925

commit a3e54ad094ae3b42156cc5fdbcbab0ac44c71925
Author:     Cy Schubert <cy@FreeBSD.org>
AuthorDate: 2021-08-12 13:38:21 +0000
Commit:     Cy Schubert <cy@FreeBSD.org>
CommitDate: 2021-08-20 15:24:55 +0000

    wpa: Add wpa_cli action file event
    
    Yang Zhong at FreeBSD Foundation is working on a wireless network
    configuratior for an experimental FreeBSD installer. The new installer
    requires an event to detect when connecting to a network fails due to a
    bad password. When this happens a WPA-EVENT-TEMP-DISABLED event is
    triggered. This patch passes the event to an action file provided by
    the new experimental installer.
    
    Submitted by:   Yang Zhong <yzhong () freebsdfoundation.org>
    Reviewed by:    assumed to be reviewed by emaste (and cy)
    
    (cherry picked from commit ce92f5a91b161c85e0a7e37cc754e3c28074281a)
---
 contrib/wpa/wpa_supplicant/wpa_cli.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/contrib/wpa/wpa_supplicant/wpa_cli.c b/contrib/wpa/wpa_supplicant/wpa_cli.c
index 43ac427203ec..9ad2e3ef2144 100644
--- a/contrib/wpa/wpa_supplicant/wpa_cli.c
+++ b/contrib/wpa/wpa_supplicant/wpa_cli.c
@@ -3977,6 +3977,8 @@ static void wpa_cli_action_process(const char *msg)
 			wpa_cli_connected = 0;
 			wpa_cli_exec(action_file, ifname, "DISCONNECTED");
 		}
+	} else if (str_starts(pos, WPA_EVENT_TEMP_DISABLED)) {
+		wpa_cli_exec(action_file, ifname, pos);
 	} else if (str_starts(pos, WPA_EVENT_CHANNEL_SWITCH_STARTED)) {
 		wpa_cli_exec(action_file, ctrl_ifname, pos);
 	} else if (str_starts(pos, AP_EVENT_ENABLED)) {