madwifi: set essid on to avoid association with different ssid (patch from #3937)
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sun, 28 Sep 2008 09:43:37 +0000 (09:43 +0000)
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sun, 28 Sep 2008 09:43:37 +0000 (09:43 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12759 3c298f89-4303-0410-b956-a3cf2f4a3e73

package/madwifi/files/lib/wifi/madwifi.sh

index 1f540a0..df34531 100755 (executable)
@@ -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
This page took 0.026929 seconds and 4 git commands to generate.