upgrade the ixp4xx ethernet driver to v0.3.1, split the Gateway 7001 support to two...
[openwrt.git] / package / madwifi / files / lib / wifi / madwifi.sh
index 68fa325..10e8ab1 100755 (executable)
@@ -106,6 +106,9 @@ enable_atheros() {
                        iwpriv "$ifname" pureg "$pureg"
                        iwconfig "$ifname" channel "$channel"
                }
+       
+               config_get_bool hidden "$vif" hidden
+               iwpriv "$ifname" hide_ssid "$hidden"
 
                config_get wds "$vif" wds
                case "$wds" in
@@ -122,7 +125,7 @@ enable_atheros() {
                                        iwconfig "$ifname" enc "[$idx]" "${key:-off}"
                                done
                                config_get key "$vif" key
-                               iwconfig "$ifname" enc "[${key:-1}]"
+                               iwconfig "$ifname" enc "${key:-1}"
                        ;;
                esac
 
This page took 0.021836 seconds and 4 git commands to generate.