Modem manager interfering with Wifi?

I recently built a new version of OpenWrt from source and I keep seeing hotplug events with related to my inbuilt WIFI and lan and modem manager should not touch them I believe just WAN and WWAN?

I tried disabling modem manager and rebooting my router my WIFI and lan seemingly starts working but I don't know something is weird..

Fri Mar 22 18:28:20 2024 kern.info kernel: [   56.812246] ath10k_ahb a000000.wifi: mac flush null vif, drop 0 queues 0xffff
Fri Mar 22 18:28:20 2024 kern.warn kernel: [   56.891359] ath10k_ahb a000000.wifi: peer-unmap-event: unknown peer id 0
Fri Mar 22 18:28:20 2024 kern.warn kernel: [   56.891461] ath10k_ahb a000000.wifi: peer-unmap-event: unknown peer id 0
Fri Mar 22 18:28:20 2024 daemon.err hostapd: rmdir[ctrl_interface=/var/run/hostapd]: Permission denied
Fri Mar 22 18:28:20 2024 daemon.notice hostapd: Adults_2.5G: CTRL-EVENT-TERMINATING
Fri Mar 22 18:28:20 2024 daemon.err hostapd: hostapd_free_hapd_data: Interface Adults_2.5G wasn't started
Fri Mar 22 18:28:20 2024 daemon.err hostapd: rmdir[ctrl_interface=/var/run/hostapd]: Permission denied
Fri Mar 22 18:28:20 2024 daemon.notice hostapd: Kids_2.5g: CTRL-EVENT-TERMINATING
Fri Mar 22 18:28:20 2024 daemon.err hostapd: hostapd_free_hapd_data: Interface Kids_2.5g wasn't started
Fri Mar 22 18:28:20 2024 daemon.warn netifd: Wireless device 'radio1' setup failed, retry=3
Fri Mar 22 18:28:20 2024 daemon.warn netifd: Wireless device 'radio0' setup failed, retry=3
Fri Mar 22 18:28:20 2024 daemon.notice [4301]: <msg> [base-manager] couldn't check support for device '/sys/devices/platform/soc/a800000.wifi': not supported by any plugin
Fri Mar 22 18:28:20 2024 daemon.info ModemManager[6099]: hotplug: add network interface br-kids_lan: event processed
Fri Mar 22 18:28:20 2024 daemon.err procd: Got unexpected signal 1
Fri Mar 22 18:28:20 2024 daemon.err procd: Got unexpected signal 1
Fri Mar 22 18:28:20 2024 daemon.notice wpa_supplicant[2607]: Set new config for phy phy0

Did you find a solution to this? I am seeing the same.

I think this was a red herring / coincidence in honesty and it has something to do with my bridging with purely WIFI interfaces.

I have ath10k chipset and it seems some people have problems with it if the bridge is not initialized before the WIFI is up and just happens on some devices causing the WIFI not to work.

Suggestions was to change to alternative WIFI firmware, small buffers and or switch from CT to non CT firmware but nothing fixed this issue

My solution was to add a sleep command to the rc.local file in root/etc as below:

sleep 10
wifi

exit 0