diff options
author | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2007-02-27 23:10:53 +0000 |
---|---|---|
committer | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2007-02-27 23:10:53 +0000 |
commit | 8eceb512fcecaea5e1e2b214d949882f196fbcfe (patch) | |
tree | a3cef062c1a5c1e42bffc19fe5037eb27224a870 /package | |
parent | 796420d4282fc8765dd6d0b0cc11507482ef5d35 (diff) |
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')
-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 e1da9d401..10e8ab1c0 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 |