Re: brcmfmac disconnects when iwd scans

KeithG <[email protected]> Sat, 28 Jun 2025 10:57:30 -0500
Newsgroups dev.linux.lists.iwd
Message-ID <CAG17S_Nb9bsySbRO1=DDZdBp+jjNf=f55wZFYK-SgsdSTdKSjw@mail.gmail.com>
Arend,

Do not know if this is correct, but I noticed a difference between how
[email protected] versus wpa_supplicant.service calls
wpa_supplicant.
in the @ version, it is called like this:
ExecStart=/sbin/wpa_supplicant -c/etc/wpa_supplicant/wpa_supplicant-%I.conf -i%I

whereas the normal wpa_supplicant is called like this:
ExecStart=/sbin/wpa_supplicant -u -s -O "DIR=/run/wpa_supplicant GROUP=netdev"

I edited my wpa_supplicant.service to be:
ExecStart=/sbin/wpa_supplicant  -u -s -O "DIR=/run/wpa_supplicant
GROUP=netdev" -c /etc/wpa_supplicant/wpa_supplicant.conf -i wlan0

and now it seems to run correctly and I no longer get the "Failed to
initiate sched scan" in the log.
If I do not have this proper or if there may be a 'better way' let me
know, but now it seems to work.

Keith