madwifi: fix setting the essid for ap mode
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Wed, 27 Dec 2006 00:55:59 +0000 (00:55 +0000)
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Wed, 27 Dec 2006 00:55:59 +0000 (00:55 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5903 3c298f89-4303-0410-b956-a3cf2f4a3e73

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

index 2a8465b..a22b5c4 100755 (executable)
@@ -130,6 +130,7 @@ enable_atheros() {
                        config_set "$vif" bridge "$bridge"
                        start_net "$ifname" "$net_cfg"
                }
+               iwconfig "$ifname" essid "$ssid"
                case "$mode" in
                        ap)
                                hostapd_setup_vif "$vif" madwifi || {
@@ -141,7 +142,6 @@ enable_atheros() {
                                }
                        ;;
                        wds|sta)
-                               iwconfig "$ifname" essid "$ssid"
                                # FIXME: implement wpa_supplicant calls here
                        ;;
                esac
This page took 0.026947 seconds and 4 git commands to generate.