diff options
author | Felix Fietkau <nbd@openwrt.org> | 2007-02-27 23:10:53 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2007-02-27 23:10:53 +0000 |
commit | f5685b7e3e77317dd3027fdb64a9bfc0e4d8b2a4 (patch) | |
tree | a3cef062c1a5c1e42bffc19fe5037eb27224a870 /package/madwifi/files/lib/wifi/madwifi.sh | |
parent | f8e0bf987f94b7843f6f03864e4f290d5fbe1356 (diff) | |
download | master-187ad058-f5685b7e3e77317dd3027fdb64a9bfc0e4d8b2a4.tar.gz master-187ad058-f5685b7e3e77317dd3027fdb64a9bfc0e4d8b2a4.tar.bz2 master-187ad058-f5685b7e3e77317dd3027fdb64a9bfc0e4d8b2a4.zip |
use config_get_bool for hide_ssid option in madwifi
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6408 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/madwifi/files/lib/wifi/madwifi.sh')
-rwxr-xr-x | package/madwifi/files/lib/wifi/madwifi.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/package/madwifi/files/lib/wifi/madwifi.sh b/package/madwifi/files/lib/wifi/madwifi.sh index e1da9d4010..10e8ab1c0a 100755 --- a/package/madwifi/files/lib/wifi/madwifi.sh +++ b/package/madwifi/files/lib/wifi/madwifi.sh @@ -106,9 +106,9 @@ enable_atheros() { iwpriv "$ifname" pureg "$pureg" iwconfig "$ifname" channel "$channel" } - - config_get hidden "$vif" hidden - [ -z "$hidden" ] || iwpriv "$ifname" hide_ssid "$hidden" + + config_get_bool hidden "$vif" hidden + iwpriv "$ifname" hide_ssid "$hidden" config_get wds "$vif" wds case "$wds" in |