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

SVN-Revision: 12759
This commit is contained in:
Felix Fietkau 2008-09-28 09:43:37 +00:00
parent 93c504a8ae
commit d94103514b

View File

@ -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