mac80211: pass phy name to hostapd_set_bss_options
[openwrt/openwrt.git] / package / kernel / mac80211 / files / lib / netifd / wireless / mac80211.sh
index 42144375b477e4477ee04aea7f745d79d3cd0ce6..11ea700b98d85d2ce5ade63af7613d1a4e56bf39 100644 (file)
@@ -372,7 +372,7 @@ mac80211_hostapd_setup_bss() {
        hostapd_cfg=
        append hostapd_cfg "$type=$ifname" "$N"
 
-       hostapd_set_bss_options hostapd_cfg "$vif" || return 1
+       hostapd_set_bss_options hostapd_cfg "$phy" "$vif" || return 1
        json_get_vars wds wds_bridge dtim_period max_listen_int start_disabled
 
        set_default wds 0