config_get bridge "$vif" bridge # XXX: integrate with /etc/config/network later
eval "${vif}_ssid=\"\$ssid\""
mode="-A"
[ "$vif" = "$sta_if" ] && mode="-S"
config_get bridge "$vif" bridge # XXX: integrate with /etc/config/network later
eval "${vif}_ssid=\"\$ssid\""
mode="-A"
[ "$vif" = "$sta_if" ] && mode="-S"