git: 0fe083b6e8e8 - stable/15 - rc: Chase 052211e08c0e and bfb202c4554a, remove ifconfig down/up
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 24 Oct 2025 03:35:06 UTC
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" ]; then