1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2025-01-27 14:31:05 +02:00

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12759 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
nbd 2008-09-28 09:43:37 +00:00
parent d92b87cd72
commit 18a6a4834f

View File

@ -258,6 +258,7 @@ 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
iwconfig "$ifname" essid "$ssid" iwconfig "$ifname" essid "$ssid"
set_wifi_up "$vif" "$ifname" set_wifi_up "$vif" "$ifname"
case "$mode" in case "$mode" in