summaryrefslogtreecommitdiff
path: root/package/mac80211/files
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2010-02-28 19:05:32 +0000
committerFelix Fietkau <nbd@openwrt.org>2010-02-28 19:05:32 +0000
commitee2c54569f605befa12ea6bca7c0ec5ab2634f40 (patch)
tree5591476c5e380ee3b1aaa0a0b58068b3221a83ff /package/mac80211/files
parent13cfa888555ebffe694bb80d7a4a5b7dd124fb0a (diff)
downloadmtk-20170518-ee2c54569f605befa12ea6bca7c0ec5ab2634f40.zip
mtk-20170518-ee2c54569f605befa12ea6bca7c0ec5ab2634f40.tar.gz
mtk-20170518-ee2c54569f605befa12ea6bca7c0ec5ab2634f40.tar.bz2
mac80211: fix essid setting for ad-hoc (thx, stintel)
SVN-Revision: 19916
Diffstat (limited to 'package/mac80211/files')
-rw-r--r--package/mac80211/files/lib/wifi/mac80211.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/mac80211/files/lib/wifi/mac80211.sh b/package/mac80211/files/lib/wifi/mac80211.sh
index 87f7d29..dd77f79 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)