Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 24 Mar 2023 17:08:35 GMT
From:      Cy Schubert <cy@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 052211e08c0e - main - rc: Chase bfb202c4554a and remove ifconfig down/up for wpa_supplicant
Message-ID:  <202303241708.32OH8ZTQ010783@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202303241708.32OH8ZTQ010783>