madwifi: set essid on to avoid association with different ssid (patch from #3937)

SVN-Revision: 12759
master
Felix Fietkau 16 years ago
parent 93c504a8ae
commit d94103514b
  1. 1
      package/madwifi/files/lib/wifi/madwifi.sh

@ -258,6 +258,7 @@ enable_atheros() {
config_set "$vif" bridge "$bridge"
start_net "$ifname" "$net_cfg"
}
[ -n "$ssid" ] && iwconfig "$ifname" essid on
iwconfig "$ifname" essid "$ssid"
set_wifi_up "$vif" "$ifname"
case "$mode" in

Loading…
Cancel
Save