hostapd: allow adding initial AP without breaking STA interface connection
[openwrt/openwrt.git] / package / network / services / hostapd / src / src / ap / ucode.c
index f0b4ce4eb82b0bdae78de6306998af530fd9f74f..0326f6fc82dc9f8aa2f74ae695f7c4605247e87d 100644 (file)
@@ -362,6 +362,7 @@ out:
                int ret;
 
                hapd->started = 1;
+               hapd->conf->start_disabled = 0;
                hostapd_set_freq(hapd, conf->hw_mode, iface->freq,
                                 conf->channel,
                                 conf->enable_edmg,