summaryrefslogtreecommitdiffstats
path: root/package/madwifi/files
diff options
context:
space:
mode:
Diffstat (limited to 'package/madwifi/files')
-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 e1da9d401..10e8ab1c0 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