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
master
Felix Fietkau 2007-02-27 23:10:53 +00:00
parent f8e0bf987f
commit f5685b7e3e
1 changed files with 3 additions and 3 deletions

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