Thanks, this does fix the exception. Now I see the reale error:

Sat Jan 13 15:52:30 2024 daemon.err hostapd: Could not set interface phy1-ap8 
flags (UP): Resource busy
Sat Jan 13 15:52:31 2024 daemon.err hostapd: Failed to add BSS 
(BSSID=xx:xx:xx:xx:xx:xx)
Sat Jan 13 15:52:31 2024 daemon.notice hostapd: nl80211: Failed to remove 
interface phy1-ap7 from bridge br-aaa: No such device
Sat Jan 13 15:52:32 2024 daemon.notice hostapd: nl80211: Failed to remove 
interface phy1-ap6 from bridge br-aaa: No such device
Sat Jan 13 15:52:32 2024 daemon.notice hostapd: nl80211: Failed to remove 
interface phy1-ap5 from bridge br-bbb: No such device
Sat Jan 13 15:52:32 2024 daemon.notice hostapd: nl80211: Failed to remove 
interface phy1-ap4 from bridge br-ccc: No such device
Sat Jan 13 15:52:33 2024 daemon.notice hostapd: nl80211: Failed to remove 
interface phy1-ap3 from bridge br-ddd: No such device
Sat Jan 13 15:52:33 2024 daemon.notice hostapd: nl80211: Failed to remove 
interface phy1-ap2 from bridge br-eee: No such device
Sat Jan 13 15:52:34 2024 daemon.notice hostapd: nl80211: Failed to remove 
interface phy1-ap1 from bridge br-aaa: No such device
Sat Jan 13 15:52:34 2024 daemon.err hostapd: Interface initialization failed

Is there a limition of AP's per device?

Regards,
Hartmut

Am 13.01.2024 um 16:15 schrieb Felix Fietkau:
Hi,

On 13.01.24 11:28, e9hack wrote:
Hi,

I did add one more AP to my wifi config for testing. This results in hostapd 
not starting for this device:

Thu Jan 11 13:59:12 2024 daemon.notice hostapd: Exception in ubus function: 
left-hand side expression is null In __iface_pending_next(), file 
/usr/share/hostap/hostapd.uc, line 165, byte 73:   called from function 
iface_pending_next (/usr/share/hostap/hostapd.uc:181:73)   called from function 
iface_pending_init (/usr/share/hostap/hostapd.uc:222:15)   called from function 
iface_restart (/usr/share/hostap/hostapd.uc:249:35)   called from function 
iface_set_config (/usr/share/hostap/hostapd.uc:620:52)   called from function 
[anonymous function] (/usr/share/hostap/hostapd.uc:827:32)   called from 
anonymous function (/usr/share/hostap/hostapd.uc:710:22)   `            
hostapd.printf(`hostapd.add_iface failed for phy ${phy} 
ifname=${bss.ifname}`);`   Near here 
-----------------------------------------------------------------------^
Thu Jan 11 13:59:12 2024 daemon.notice netifd: radio1 (405): Command failed: ubus call hostapd config_set { "phy": 
"phy1", "config":"/var/run/hostapd-phy1.conf", "prev_config": 
"/var/run/hostapd-phy1.conf.prev"} (Unknown error)

The error doesn't appear when I remove a AP. It doesn't matter which one I 
remove.

Is there somewhere a buffer to small?

Please try the latest version, it should work now. Sorry for the noise.

- Felix


_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to