git: 052211e08c0e - main - rc: Chase bfb202c4554a and remove ifconfig down/up for wpa_supplicant

From: Cy Schubert <cy_at_FreeBSD.org>
Date: Fri, 24 Mar 2023 17:08:35 UTC
The branch main has been updated by cy:

URL: https://cgit.FreeBSD.org/src/commit/?id=052211e08c0e227277d0c4dc603bba2253eb3d73

commit 052211e08c0e227277d0c4dc603bba2253eb3d73
Author:     Cy Schubert <cy@FreeBSD.org>
AuthorDate: 2023-03-24 14:32:41 +0000
Commit:     Cy Schubert <cy@FreeBSD.org>
CommitDate: 2023-03-24 17:07:29 +0000

    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
---
 libexec/rc/rc.d/wpa_supplicant | 6 ------
 1 file changed, 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