diff options
author | Felix Fietkau <nbd@openwrt.org> | 2006-12-27 00:55:59 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2006-12-27 00:55:59 +0000 |
commit | 4a2b2b02aadd195d8bffbafde9d80738ff7d5abc (patch) | |
tree | a34bdd3130a29f9d0eb9630f760c718c3cc22b28 /package/madwifi | |
parent | 343b935afabbcf4b320b39812f945762d4902481 (diff) | |
download | upstream-4a2b2b02aadd195d8bffbafde9d80738ff7d5abc.tar.gz upstream-4a2b2b02aadd195d8bffbafde9d80738ff7d5abc.tar.bz2 upstream-4a2b2b02aadd195d8bffbafde9d80738ff7d5abc.zip |
madwifi: fix setting the essid for ap mode
SVN-Revision: 5903
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 |