|
|
@ -300,8 +300,10 @@ enable_atheros() { |
|
|
|
config_set "$vif" bridge "$bridge" |
|
|
|
config_set "$vif" bridge "$bridge" |
|
|
|
start_net "$ifname" "$net_cfg" |
|
|
|
start_net "$ifname" "$net_cfg" |
|
|
|
} |
|
|
|
} |
|
|
|
[ -n "$ssid" ] && iwconfig "$ifname" essid on |
|
|
|
[ -n "$ssid" ] && { |
|
|
|
iwconfig "$ifname" essid "$ssid" |
|
|
|
iwconfig "$ifname" essid on |
|
|
|
|
|
|
|
iwconfig "$ifname" essid "$ssid" |
|
|
|
|
|
|
|
} |
|
|
|
set_wifi_up "$vif" "$ifname" |
|
|
|
set_wifi_up "$vif" "$ifname" |
|
|
|
|
|
|
|
|
|
|
|
# TXPower settings only work if device is up already |
|
|
|
# TXPower settings only work if device is up already |
|
|
|