KDE WiFi doesn't work properly after suspend

Hi, i’m on F38 and i have a problem with KDE (it doesn’t occur on GNOME).
After resuming from a suspend state (lid closed), WiFi keeps trying to connect but it fails. I have to power off WiFi and turn on again, then it works as expected connecting automatically to my home WiFi network.
How can i fix this behavior?
Thanks,
Emanuele

Upgraded on F39 and the problem occurs also in Gnome.

Checking dmesg i read this:

[ 5069.754527] ieee80211 phy0: brcmf_fweh_call_event_handler: no interface object [ 5069.758025] ieee80211 phy0: brcmf_p2p_set_firmware: failed to update device address ret -52 [ 5069.758458] ieee80211 phy0: brcmf_p2p_create_p2pdev: set p2p_disc error [ 5069.758462] ieee80211 phy0: brcmf_cfg80211_add_iface: add iface p2p-dev-wlp1s0f type 10 failed: err=-52 [ 5070.219345] ieee80211 phy0: brcmf_cfg80211_escan_handler: invalid event data length [ 5071.038566] apple-dcp 231c00000.dcp: RTKit: syslog message: PPipeDCP_H13P.cpp:17179: handle_stage1_enable blm_en 0 ltm_en 1 [ 5079.430082] ieee80211 phy0: brcmf_cfg80211_escan_handler: invalid event data length [ 5086.597772] ieee80211 phy0: brcmf_cfg80211_escan_handler: invalid event data length [ 5105.865528] ieee80211 phy0: brcmf_p2p_set_firmware: failed to update device address ret -52 [ 5105.865810] ieee80211 phy0: brcmf_p2p_create_p2pdev: set p2p_disc error [ 5105.865812] ieee80211 phy0: brcmf_cfg80211_add_iface: add iface p2p-dev-wlp1s0f type 10 failed: err=-52 [ 5106.405135] ieee80211 phy0: brcmf_cfg80211_escan_handler: invalid event data length

What device are you using?

MacBook Air M1 8Gb

Thanks, I’ll investigate. It might possibly be a driver bug. Some of those messages are normal, but a few are suspect.

just for your information, yesterday morning when i powered on my macbook (m2pro 14" 2023), it booted but it had no bluetooth, no wifi, and resolution was back in unscaled mode (i have it at 150% or 200% usualy). i did a shutdown (which failed in the last steps, i had to force hard shutdown in the end) then after that, i restarted the system, and this time all was back to normal, bluetooth, wifi, and scaling were ok again.

it failed also on boot. After three/four times of disable / re-enable WiFi, it works

This is dmesg output:

1 Like