mac80211_hostapd_setup_bss "$phy" "$ifname" "$macaddr" "$type" || return
[ -n "$hostapd_ctrl" ] || {
- iw phy "$phy" interface add "$ifname" type managed
+ iw phy "$phy" interface add "$ifname" type __ap
hostapd_ctrl="${hostapd_ctrl:-/var/run/hostapd/$ifname}"
}
;;