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 5701485..10e8ab1 100755 (executable)
@@ -102,10 +102,13 @@ enable_atheros() {
                                *) agmode=11g;;
                        esac
                        iwconfig "$ifname" channel 0 
-                       iwpriv "$ifname" agmode "$agmode"
+                       iwpriv "$ifname" mode "$agmode"
                        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.026502 seconds and 4 git commands to generate.