diff options
author | Cy Schubert <cy@FreeBSD.org> | 2023-03-24 14:32:41 +0000 |
---|---|---|
committer | Cy Schubert <cy@FreeBSD.org> | 2023-03-24 17:07:29 +0000 |
commit | 052211e08c0e227277d0c4dc603bba2253eb3d73 (patch) | |
tree | e4326d1214f628b166fa193a83eec3af2401103e | |
parent | 79aa96f9ca4d57eb1b50337967704234a0ee1522 (diff) | |
download | src-052211e08c0e227277d0c4dc603bba2253eb3d73.tar.gz src-052211e08c0e227277d0c4dc603bba2253eb3d73.zip |
rc: Chase bfb202c4554a and remove ifconfig down/up for wpa_supplicant
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.
Reviewed by: bz (for wireless)
MFC after: 10 days
X-MFC with: bfb202c4554a
Differential Revision: https://reviews.freebsd.org/D39257
-rwxr-xr-x | libexec/rc/rc.d/wpa_supplicant | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/libexec/rc/rc.d/wpa_supplicant b/libexec/rc/rc.d/wpa_supplicant index 7a95ccb36be4..45db6b9f44dc 100755 --- a/libexec/rc/rc.d/wpa_supplicant +++ b/libexec/rc/rc.d/wpa_supplicant @@ -12,7 +12,6 @@ name="wpa_supplicant" desc="WPA/802.11i Supplicant for wireless network devices" -start_postcmd="wpa_poststart" rcvar= ifn="$2" @@ -20,11 +19,6 @@ if [ -z "$ifn" ]; then return 1 fi -wpa_poststart() { - ifconfig ${ifn} down - ifconfig ${ifn} up -} - if is_wired_interface ${ifn} ; then driver="wired" else |