diff options
| author | Cy Schubert <cy@FreeBSD.org> | 2025-10-21 10:28:39 -0700 |
|---|---|---|
| committer | Cy Schubert <cy@FreeBSD.org> | 2025-10-21 10:31:23 -0700 |
| commit | 05637c82243e681b5db5d7e9829e699515456524 (patch) | |
| tree | f5e2e4bc5b5d162d9437b4adef61d35479c00dcd /libexec | |
| parent | 401026e4825a05abba6f945cf1b74b3328876fa2 (diff) | |
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
Diffstat (limited to 'libexec')
| -rwxr-xr-x | libexec/rc/rc.d/hostapd | 9 |
1 files changed, 0 insertions, 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 |
