diff --git a/package/network/services/hostapd/files/hostapd.uc b/package/network/services/hostapd/files/hostapd.uc index c1db91e4d4f..76a3d706f7f 100644 --- a/package/network/services/hostapd/files/hostapd.uc +++ b/package/network/services/hostapd/files/hostapd.uc @@ -746,9 +746,10 @@ function iface_load_config(phy, radio, filename) continue; } - if (val[0] == "#num_global_macaddr" || - val[0] == "mbssid") + if (val[0] == "#num_global_macaddr") config[substr(val[0], 1)] = int(val[1]); + else if (val[0] == "mbssid") + config[val[0]] = int(val[1]); push(config.radio.data, line); }