*) 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
iwconfig "$ifname" enc "[$idx]" "${key:-off}"
done
config_get key "$vif" key
- iwconfig "$ifname" enc "[${key:-1}]"
+ iwconfig "$ifname" enc "${key:-1}"
;;
esac