hostapd crash

Felix Fietkau nbd at nbd.name
Sat Jan 13 07:15:22 PST 2024


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



More information about the openwrt-devel mailing list