From nobody Fri Oct 24 03:35:06 2025 X-Original-To: dev-commits-src-branches@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4ct7nk2VLdz6D9s7; Fri, 24 Oct 2025 03:35:06 +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 "R12" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4ct7nk1tz5z3vT6; Fri, 24 Oct 2025 03:35:06 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1761276906; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=PmRXDrhLJwgB+9u5lv+gPeUuYgs4DYd84S8ST24F0Vs=; b=p0NzN2NeIknSigV3y4p51UCoBP5dLnKa3JK46z1tIeYzh+w4th7/mDoMLsHvq6woeS3pcO eg7vAzeVG7ie7P2zQLZDNRmBjXzA4mD/+N0S8DLTiJO1eviXDnWu7Eqpni9oCfXVZ9k1Ee nj2TxAceKE6ql9FzxhKJl6L7jhSdcp1pxqU3VzIsRTfGwzWpn5iuK5tLu6HVtCP3Nsg7Ex T4X8cGf8ud30kLRGT+KlTFqw+yGNZNfp0/JacvKY4mwFkWMw8cJ04d3Hx1P++IiFsrgmSo p/bSUhaOO7Ep8NOatPaUuougfFjqkzccnWQxadSMfol76prwfLcBOclty0diFg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1761276906; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=PmRXDrhLJwgB+9u5lv+gPeUuYgs4DYd84S8ST24F0Vs=; b=PQmPVqc0W+wL6Pa+7XBZkUyT5exBqtRqG3X23lH4y2kW9tMhZdfgwP1+/wPCMnBR6Uut5B GYof9K0YnuWaI53BK4/7Wa56zaxlVNGNXsiSXQLeFSEB9zrD9MB2efp3KGclsXtMUMEdZ0 exT0bGvdlMXRkqWtbQLfkgMRP6X6g8KUNQvtvRnkpG5A4R2i3lqbPg7ENBEd3bIv02pJmT vSkU/H/Dm+cuTh51LWoPvD2fmYEvcX+8Mp467YdNun8v2Ep35L9x27Y8tXpSer1Xl/6Vqr 6O5DJOiHm1HSngex3Qw3a735WKEXe0vr+NuD3YdipqwD2J4uK01sX/ex58t7qw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1761276906; a=rsa-sha256; cv=none; b=bYRJCVBJxO64zv1uriSMqC4O99mOo95tzdBlYEtJLFxSsC2m5NzY9TMs8en8jUiHMsjk0R yvzT83cCfzEcAbtEtRSD3jh5fHeTsx+tmUFH1iWydOIvEOPftf4/XMiCpWJzOHjXoMXcUB 42jDdz6zIUAUMGs5S6Juv+uaRBnoXj5rX2sp2bjfuLpAppRD4sxAyU0SVrJdj2bmSrLe8B UHEt7KJYUdYgPCqIJL7iJviOvMWVYlmw6Or3z0CWQaRMrSc4jq50t49uPern+IzUadRHAG a/u+lHNooNVyIWR4xvk9wKRe+L572BzR01s8V7qFkzoNHVB+oO2hPuygVvMjpg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none 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 4ct7nk1TKqzjyL; Fri, 24 Oct 2025 03:35:06 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 59O3Z6fv080075; Fri, 24 Oct 2025 03:35:06 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 59O3Z6NX080073; Fri, 24 Oct 2025 03:35:06 GMT (envelope-from git) Date: Fri, 24 Oct 2025 03:35:06 GMT Message-Id: <202510240335.59O3Z6NX080073@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Cy Schubert Subject: git: 0fe083b6e8e8 - stable/15 - rc: Chase 052211e08c0e and bfb202c4554a, remove ifconfig down/up List-Id: Commits to the stable branches of the FreeBSD src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-branches List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-branches@freebsd.org Sender: owner-dev-commits-src-branches@FreeBSD.org 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/15 X-Git-Reftype: branch X-Git-Commit: 0fe083b6e8e8666674a77cf622c1d8edfe7f1ef1 Auto-Submitted: auto-generated The branch stable/15 has been updated by cy: URL: https://cgit.FreeBSD.org/src/commit/?id=0fe083b6e8e8666674a77cf622c1d8edfe7f1ef1 commit 0fe083b6e8e8666674a77cf622c1d8edfe7f1ef1 Author: Cy Schubert AuthorDate: 2025-10-21 17:28:39 +0000 Commit: Cy Schubert CommitDate: 2025-10-24 03:34:52 +0000 rc: Chase 052211e08c0e and bfb202c4554a, remove ifconfig down/up bfb202c4554a addresses the CTRL-EVENT-SCAN-FAILED. Upstream d807e289d caused FreeBSD regression in driver_bsd.c, which this rc.d patch worked around. As of bfb202c4554a this workaround is no longer needed. 052211e08c0e implemented this change for wpa_supplicant but not for hostapd. Reported by: avg MFC after: 3 days (cherry picked from commit 05637c82243e681b5db5d7e9829e699515456524) --- libexec/rc/rc.d/hostapd | 9 --------- 1 file changed, 9 deletions(-) diff --git a/libexec/rc/rc.d/hostapd b/libexec/rc/rc.d/hostapd index 264cb4ef476b..15b20c95c488 100755 --- a/libexec/rc/rc.d/hostapd +++ b/libexec/rc/rc.d/hostapd @@ -11,15 +11,6 @@ name="hostapd" desc="Authenticator for IEEE 802.11 networks" command=${hostapd_program} -start_postcmd="hostapd_poststart" - -hostapd_poststart() { - if [ -n "$ifn" ]; then - ifconfig ${ifn} down - sleep 2 - ifconfig ${ifn} up - fi -} ifn="$2" if [ -z "$ifn" ]; then