From: Felix Fietkau Date: Sun, 28 Feb 2010 19:05:32 +0000 (+0000) Subject: mac80211: fix essid setting for ad-hoc (thx, stintel) X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=ee2c54569f605befa12ea6bca7c0ec5ab2634f40;p=openwrt%2Fstaging%2Flinusw.git mac80211: fix essid setting for ad-hoc (thx, stintel) SVN-Revision: 19916 --- diff --git a/package/mac80211/files/lib/wifi/mac80211.sh b/package/mac80211/files/lib/wifi/mac80211.sh index 87f7d29daa..dd77f79648 100644 --- a/package/mac80211/files/lib/wifi/mac80211.sh +++ b/package/mac80211/files/lib/wifi/mac80211.sh @@ -356,7 +356,7 @@ enable_mac80211() { case "$mode" in adhoc) config_get bssid "$vif" bssid - config_get bssid "$vif" ssid + config_get ssid "$vif" ssid iw dev "$ifname" ibss join "$ssid" $freq ${fixed:+fixed-freq} $bssid ;; sta)