wpa_supplicant floods the log with scan error

KeithG <[email protected]>
Newsgroups dev.linux.lists.brcm80211,org.kernel.vger.linux-wireless
Message-ID <CAG17S_P0WmE4o3wCbi4Pq0j28C-HUZHwGJXzurTME4TsgYLQOQ@mail.gmail.com>
I am using wpa_supplicant on RPiOS with the laterst kerenel 6.12.x
I have wpa_supplicant set up systemd service 'wpa_supplicnat@wlan0'
and use wpa_cli to manage the known networks. I use systemd-networkd
to manage DHCP and such. When the RPi is not connected to a wireless
SSID, I get tons of this in the log:
Jun 09 14:29:56 rpi wpa_supplicant[420]: wlan0: Failed to initiate sched scan
Jun 09 14:30:03 rpi wpa_supplicant[420]: wlan0: Failed to initiate sched scan
Jun 09 14:30:10 rpi wpa_supplicant[420]: wlan0: Failed to initiate sched scan
Jun 09 14:30:16 rpi wpa_supplicant[420]: wlan0: Failed to initiate sched scan
Jun 09 14:30:22 rpi wpa_supplicant[420]: wlan0: Failed to initiate sched scan
Jun 09 14:30:29 rpi wpa_supplicant[420]: wlan0: Failed to initiate sched scan
Jun 09 14:30:35 rpi wpa_supplicant[420]: wlan0: Failed to initiate sched scan
Jun 09 14:30:41 rpi wpa_supplicant[420]: wlan0: Failed to initiate sched scan
Jun 09 14:30:47 rpi wpa_supplicant[420]: wlan0: Failed to initiate sched scan

It repeats about every 6 seconds. I know it is scanning, because when
my known SSID reappears, it connects, so it *is* scanning.

My wpa_supplicant@wlan0 config has not much in it:

# cat /etc/wpa_supplicant/wpa_supplicant-wlan0.conf
ctrl_interface=/run/wpa_supplicant
update_config=1

network={
        ssid="KnownSSID"
        psk="password"
        mesh_fwding=1
}

the service is using the default, debian '[email protected]'
that comes with RPiOS and uses my config shown above.# systemctl
status [email protected][email protected] - WPA supplicant daemon
(interface-specific version)
     Loaded: loaded (/lib/systemd/system/[email protected];
enabled; preset: enabled)
     Active: active (running) since Mon 2025-06-09 11:24:42 CDT; 3h 6min ago
   Main PID: 420 (wpa_supplicant)
      Tasks: 1 (limit: 1654)
        CPU: 6.727s
     CGroup: /system.slice/system-wpa_supplicant.slice/[email protected]
             └─420 /sbin/wpa_supplicant
-c/etc/wpa_supplicant/wpa_supplicant-wlan0.conf -iwlan0

the base wpa_supplicant.service is not running.

I have this in my brcmfmac.conf under /etc/modprobe.d/

options brcmfmac feature_disable=0x200000

Is there something I can do to keep this from flooding the log?

Keith
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.