From: Florian Fainelli Date: Tue, 27 Feb 2007 23:05:05 +0000 (+0000) Subject: Add hidden_ssid option to madwifi script (#1363) X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=e74ae58645b63b23d6ba58e68a695f4c790f0b1c;p=openwrt%2Fstaging%2Frobimarko.git Add hidden_ssid option to madwifi script (#1363) SVN-Revision: 6406 --- 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