diff options
author | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2006-12-27 00:55:59 +0000 |
---|---|---|
committer | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2006-12-27 00:55:59 +0000 |
commit | 677a254d9932b578f1bc4d55171c76e09e47abd2 (patch) | |
tree | a0fb3ef00ee93ba2c7985d6b0612310c9112bf5f /package/madwifi | |
parent | 8f52cffc45c740e9e7c41c1457421a877e8af81d (diff) |
madwifi: fix setting the essid for ap mode
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5903 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/madwifi')
-rwxr-xr-x | package/madwifi/files/lib/wifi/madwifi.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/package/madwifi/files/lib/wifi/madwifi.sh b/package/madwifi/files/lib/wifi/madwifi.sh index 2a8465b9fd..a22b5c4adc 100755 --- a/package/madwifi/files/lib/wifi/madwifi.sh +++ b/package/madwifi/files/lib/wifi/madwifi.sh @@ -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 |