From: Felix Fietkau Date: Tue, 27 Feb 2007 23:10:53 +0000 (+0000) Subject: use config_get_bool for hide_ssid option in madwifi X-Git-Tag: reboot~29847 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=90a57bbefb0d26a8d23fddbe8ec04edac0b8bbd6;p=oweals%2Fopenwrt.git use config_get_bool for hide_ssid option in madwifi SVN-Revision: 6408 --- 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