Date: Fri, 24 Oct 2025 03:35:06 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: 0fe083b6e8e8 - stable/15 - rc: Chase 052211e08c0e and bfb202c4554a, remove ifconfig down/up Message-ID: <202510240335.59O3Z6NX080073@gitrepo.freebsd.org>
index | next in thread | raw e-mail
The branch stable/15 has been updated by cy: URL: https://cgit.FreeBSD.org/src/commit/?id=0fe083b6e8e8666674a77cf622c1d8edfe7f1ef1 commit 0fe083b6e8e8666674a77cf622c1d8edfe7f1ef1 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: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" ]; thenhome | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202510240335.59O3Z6NX080073>
