From ebd4cdb1205e93b0aa309d559c84e7370e7fd4a2 Mon Sep 17 00:00:00 2001 From: florian Date: Tue, 27 Feb 2007 23:05:05 +0000 Subject: Add hidden_ssid option to madwifi script (#1363) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6406 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/madwifi/files/lib/wifi/madwifi.sh | 3 +++ 1 file changed, 3 insertions(+) (limited to 'package/madwifi/files/lib') 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 -- cgit v1.2.3