summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2007-02-27 23:10:53 +0000
committerFelix Fietkau <nbd@openwrt.org>2007-02-27 23:10:53 +0000
commit90a57bbefb0d26a8d23fddbe8ec04edac0b8bbd6 (patch)
tree36f672c46c2550e6cdd70ba4a8c5b2eb6948f846 /package
parent4215478ffe8ca502e26ee1b5a13bce20e271bf49 (diff)
downloadmtk-20170518-90a57bbefb0d26a8d23fddbe8ec04edac0b8bbd6.zip
mtk-20170518-90a57bbefb0d26a8d23fddbe8ec04edac0b8bbd6.tar.gz
mtk-20170518-90a57bbefb0d26a8d23fddbe8ec04edac0b8bbd6.tar.bz2
use config_get_bool for hide_ssid option in madwifi
SVN-Revision: 6408
Diffstat (limited to 'package')
-rwxr-xr-xpackage/madwifi/files/lib/wifi/madwifi.sh6
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 e1da9d4..10e8ab1 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