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

@ -107,8 +107,8 @@ enable_atheros() {
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