Re: wlan0 no longer functional after n249128-a0c64a443e4c -> n249146-cb5c07649aa0

From: Oleg V. Nauman <oleg_at_theweb.org.ua>
Date: Mon, 06 Sep 2021 17:49:01 UTC
On 2021 M09 6, Mon 20:31:33 EEST Cy Schubert wrote:
> One last favour to ask, can you try this with the wpa_supplicant-devel
> port, please? I'm trying to narrow down if this is related to the options
> in usr.sbin/wpa/Makefile.inc or an upstream problem. If this behaves the
> same using wpa_supplicant-devel, this tells me to look at the code instead
> of Makefiles.
> 
> I can reproduce the service netif restart problem using the old
> wpa_supplicant 2.9, so at least here there is no change in behaviour.
> Though on my sandbox machine the ifconfig dow/up is not required -- though
> even the older wpa_supplicant 2.9 behaves the same on my laptop, (no
> regression experienced here).
> 
> To help point to either Makefile.inc or contrib/wpa, can you please try the
> wpa_supplicant-devel port. This will tell me where to look next.

 I can confirm that wpa_supplicant from security/wpa_supplicant-devel port 
demonstrating the same behavior as wpa_supplicant from base - "ifconfig wlan0 
down ; sleep 5 ; ifconfig wlan0 up" mitigate wlan association issue.

> 
> Fifteen seconds isn't needed. Two or three, even no wait, will do.

 Thank you