aboutsummaryrefslogtreecommitdiffstats
path: root/package/madwifi/files
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
commitf5685b7e3e77317dd3027fdb64a9bfc0e4d8b2a4 (patch)
treea3cef062c1a5c1e42bffc19fe5037eb27224a870 /package/madwifi/files
parentf8e0bf987f94b7843f6f03864e4f290d5fbe1356 (diff)
downloadupstream-f5685b7e3e77317dd3027fdb64a9bfc0e4d8b2a4.tar.gz
upstream-f5685b7e3e77317dd3027fdb64a9bfc0e4d8b2a4.tar.bz2
upstream-f5685b7e3e77317dd3027fdb64a9bfc0e4d8b2a4.zip
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
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 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