fix essid setting in adhoc mode

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7301 3c298f89-4303-0410-b956-a3cf2f4a3e73
master
Felix Fietkau 2007-05-21 06:34:05 +00:00
parent ec7bfb90b5
commit 12fcc529af
1 changed files with 1 additions and 3 deletions

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