fix essid setting in adhoc mode

SVN-Revision: 7301
This commit is contained in:
Felix Fietkau 2007-05-21 06:34:05 +00:00
parent d169d2d02a
commit b2db4e7f09

View file

@ -148,10 +148,8 @@ enable_atheros() {
iwconfig "$ifname" ap "$addr" iwconfig "$ifname" ap "$addr"
} }
;; ;;
*)
config_get ssid "$vif" ssid
;;
esac esac
config_get ssid "$vif" ssid
[ "$mode" = "sta" ] && { [ "$mode" = "sta" ] && {
config_get_bool bgscan "$vif" bgscan 1 config_get_bool bgscan "$vif" bgscan 1