diff options
author | Cy Schubert <cy@FreeBSD.org> | 2021-09-09 00:20:52 +0000 |
---|---|---|
committer | Cy Schubert <cy@FreeBSD.org> | 2021-09-09 00:20:52 +0000 |
commit | d06d7eb09131edea666bf049d6c0c55672726f76 (patch) | |
tree | bc72a60ecdb5756058941a2aeca6a5483708e5a0 | |
parent | 58a7bf124cc2b20e069bb89f2fd9ea5c1b7049c2 (diff) | |
download | src-d06d7eb09131edea666bf049d6c0c55672726f76.tar.gz src-d06d7eb09131edea666bf049d6c0c55672726f76.zip |
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
-rwxr-xr-x | libexec/rc/rc.d/wpa_supplicant | 2 |
1 files changed, 2 insertions, 0 deletions
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 } |