Add hidden_ssid option to madwifi script (#1363)
authorFlorian Fainelli <florian@openwrt.org>
Tue, 27 Feb 2007 23:05:05 +0000 (23:05 +0000)
committerFlorian Fainelli <florian@openwrt.org>
Tue, 27 Feb 2007 23:05:05 +0000 (23:05 +0000)
SVN-Revision: 6406

package/madwifi/files/lib/wifi/madwifi.sh

index 4ba6cd102feccb191b40d310db45bbd383d10939..e1da9d40108638033c437b2a322000095dec6b8d 100755 (executable)
@@ -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