diff options
author | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2007-05-21 06:34:05 +0000 |
---|---|---|
committer | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2007-05-21 06:34:05 +0000 |
commit | c68d3da2985aad2a7dc7a2376071d0516d519440 (patch) | |
tree | b86152431c9689194062411f0ae6cc8eb32a6385 /package/madwifi/files/lib | |
parent | 7f93038dad7c0432a86a23fe87a94c8f3c6d0856 (diff) |
fix essid setting in adhoc mode
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7301 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/madwifi/files/lib')
-rwxr-xr-x | package/madwifi/files/lib/wifi/madwifi.sh | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/package/madwifi/files/lib/wifi/madwifi.sh b/package/madwifi/files/lib/wifi/madwifi.sh index 9d539a08b..e24730f90 100755 --- a/package/madwifi/files/lib/wifi/madwifi.sh +++ b/package/madwifi/files/lib/wifi/madwifi.sh @@ -148,10 +148,8 @@ enable_atheros() { iwconfig "$ifname" ap "$addr" } ;; - *) - config_get ssid "$vif" ssid - ;; esac + config_get ssid "$vif" ssid [ "$mode" = "sta" ] && { config_get_bool bgscan "$vif" bgscan 1 |