aboutsummaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2006-12-27 00:55:59 +0000
committerFelix Fietkau <nbd@openwrt.org>2006-12-27 00:55:59 +0000
commit1eb8154bc435937f460854cedb8ab220c3214c9f (patch)
treea0fb3ef00ee93ba2c7985d6b0612310c9112bf5f /package
parent713ed08bd1cfbf66f5dd7105e2d5377c5083eba6 (diff)
downloadupstream-1eb8154bc435937f460854cedb8ab220c3214c9f.tar.gz
upstream-1eb8154bc435937f460854cedb8ab220c3214c9f.tar.bz2
upstream-1eb8154bc435937f460854cedb8ab220c3214c9f.zip
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')
-rwxr-xr-xpackage/madwifi/files/lib/wifi/madwifi.sh2
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