aboutsummaryrefslogtreecommitdiffstats
path: root/package/madwifi/files
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2007-02-27 23:05:05 +0000
committerFlorian Fainelli <florian@openwrt.org>2007-02-27 23:05:05 +0000
commit1ec4cebdefbac67c1a15cec513dbd32d4de187b5 (patch)
tree9c16507b21dac306b214710e6dadb2625c4dddc0 /package/madwifi/files
parent331a2ee15ca216d3f67b2458feb07ddac933d672 (diff)
downloadupstream-1ec4cebdefbac67c1a15cec513dbd32d4de187b5.tar.gz
upstream-1ec4cebdefbac67c1a15cec513dbd32d4de187b5.tar.bz2
upstream-1ec4cebdefbac67c1a15cec513dbd32d4de187b5.zip
Add hidden_ssid option to madwifi script (#1363)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6406 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/madwifi/files')
-rwxr-xr-xpackage/madwifi/files/lib/wifi/madwifi.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/package/madwifi/files/lib/wifi/madwifi.sh b/package/madwifi/files/lib/wifi/madwifi.sh
index 4ba6cd102f..e1da9d4010 100755
--- a/package/madwifi/files/lib/wifi/madwifi.sh
+++ b/package/madwifi/files/lib/wifi/madwifi.sh
@@ -106,6 +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 wds "$vif" wds
case "$wds" in