git: d06d7eb09131 - main - wpa: Address CTRL-EVENT-SCAN-FAILED
Cy Schubert
cy at FreeBSD.org
Thu Sep 9 00:31:31 UTC 2021
The branch main has been updated by cy:
URL: https://cgit.FreeBSD.org/src/commit/?id=d06d7eb09131edea666bf049d6c0c55672726f76
commit d06d7eb09131edea666bf049d6c0c55672726f76
Author: Cy Schubert <cy at FreeBSD.org>
AuthorDate: 2021-09-09 00:20:52 +0000
Commit: Cy Schubert <cy at FreeBSD.org>
CommitDate: 2021-09-09 00:20:52 +0000
wpa: Address CTRL-EVENT-SCAN-FAILED
5fcdc19a8111 didn't fully resolve the issue. There remains a report
that an ifconfig wlan0 up by itself is insufficient. Ifconfig down
must precede it.
Reported by: Filipe da Silva Santos <contact _ shiori_com_br>
Fixes: 5fcdc19a8111
MFC after: 3 days
---
libexec/rc/rc.d/wpa_supplicant | 2 ++
1 file changed, 2 insertions(+)
diff --git a/libexec/rc/rc.d/wpa_supplicant b/libexec/rc/rc.d/wpa_supplicant
index 3c5c9d243f68..9e5f64a5373f 100755
--- a/libexec/rc/rc.d/wpa_supplicant
+++ b/libexec/rc/rc.d/wpa_supplicant
@@ -29,6 +29,8 @@ is_ndis_interface()
}
wpa_poststart() {
+ ifconfig ${ifn} down
+ sleep 2
ifconfig ${ifn} up
}
More information about the dev-commits-src-all
mailing list