Date: Fri, 24 Oct 2025 03:35:19 GMT From: Cy Schubert <cy@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org Subject: git: a67114ae32fc - stable/14 - rc: Chase 052211e08c0e and bfb202c4554a, remove ifconfig down/up Message-ID: <202510240335.59O3ZJ9l080241@gitrepo.freebsd.org>
index | next in thread | raw e-mail
The branch stable/14 has been updated by cy: URL: https://cgit.FreeBSD.org/src/commit/?id=a67114ae32fcf91cd9442f9905bfa1f6448ed9cf commit a67114ae32fcf91cd9442f9905bfa1f6448ed9cf Author: Cy Schubert <cy@FreeBSD.org> AuthorDate: 2025-10-21 17:28:39 +0000 Commit: Cy Schubert <cy@FreeBSD.org> CommitDate: 2025-10-24 03:35:15 +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 fe3dac1dea06..6986250b7c07 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" ]; thenhome | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202510240335.59O3ZJ9l080241>
