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

madwifi: fix setting the essid for ap mode

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5903 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
nbd 2006-12-27 00:55:59 +00:00
parent 8f52cffc45
commit 677a254d99

View File

@ -130,6 +130,7 @@ enable_atheros() {
config_set "$vif" bridge "$bridge" config_set "$vif" bridge "$bridge"
start_net "$ifname" "$net_cfg" start_net "$ifname" "$net_cfg"
} }
iwconfig "$ifname" essid "$ssid"
case "$mode" in case "$mode" in
ap) ap)
hostapd_setup_vif "$vif" madwifi || { hostapd_setup_vif "$vif" madwifi || {
@ -141,7 +142,6 @@ enable_atheros() {
} }
;; ;;
wds|sta) wds|sta)
iwconfig "$ifname" essid "$ssid"
# FIXME: implement wpa_supplicant calls here # FIXME: implement wpa_supplicant calls here
;; ;;
esac esac