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

From: Cy Schubert <Cy.Schubert_at_cschubert.com>
Date: Thu, 09 Sep 2021 03:18:47 UTC
In message <86ilzaoc0z.fsf@shiori.com.br>, Filipe da Silva Santos via 
current w
rites:
> Hi, thank you for the support, and sorry for the late feedback.
>
> The procedure `wpa_poststart' didn't solve the regression on my system.
> wlan0 doesn't seem to come up.
>
> I have the following output on my log:
>
> | Sep  8 19:09:43 misaka wpa_supplicant[23325]: ioctl[SIOCS80211, op=3D103,=
>  val=3D0, arg_len=3D128]: Operation now in progress
> | Sep  8 19:09:43 misaka wpa_supplicant[23325]: wlan0: CTRL-EVENT-SCAN-FAIL=
> ED ret=3D-1 retry=3D1
>
> Here is a sanitized version of my wpa_supplicant.conf:
>
> ctrl_interface=3D/var/run/wpa_supplicant
> eapol_version=3D1
> ap_scan=3D1
> fast_reauth=3D1
> country=3DBR
> network=3D{
>         ssid=3D"********"
>         psk=3D"****************"
>         priority=3D5
> }
> [...]
>
> and rc.conf related settings:
>
> [...]
> ifconfig_wlan0=3D"WPA powersave 10.0.0.110 netmask 0xffffff00 broadcast 10.=
> 0.0.255"
> defaultrouter=3D"10.0.0.1"
>
> wlans_iwm0=3D"wlan0"
> create_args_wlan0=3D"country BR regdomain FCC"
> [...]
>
> The last fix still works, although `sleep' isn't necessary.
>
> @@ -29,6 +29,7 @@
>  }
> =20
>  wpa_poststart() {
> +	ifconfig ${ifn} down
>  	ifconfig ${ifn} up
>  }
>

d06d7eb09131 has taken care of this.


-- 
Cheers,
Cy Schubert <Cy.Schubert@cschubert.com>
FreeBSD UNIX:  <cy@FreeBSD.org>   Web:  https://FreeBSD.org
NTP:           <cy@nwtime.org>    Web:  https://nwtime.org

	The need of the many outweighs the greed of the few.