use config_get_bool for hide_ssid option in madwifi

SVN-Revision: 6408
This commit is contained in:
Felix Fietkau 2007-02-27 23:10:53 +00:00
parent 4215478ffe
commit 90a57bbefb

View File

@ -106,9 +106,9 @@ enable_atheros() {
iwpriv "$ifname" pureg "$pureg" iwpriv "$ifname" pureg "$pureg"
iwconfig "$ifname" channel "$channel" iwconfig "$ifname" channel "$channel"
} }
config_get hidden "$vif" hidden config_get_bool hidden "$vif" hidden
[ -z "$hidden" ] || iwpriv "$ifname" hide_ssid "$hidden" iwpriv "$ifname" hide_ssid "$hidden"
config_get wds "$vif" wds config_get wds "$vif" wds
case "$wds" in case "$wds" in