fix essid setting in adhoc mode

SVN-Revision: 7301
master
Felix Fietkau 18 years ago
parent d169d2d02a
commit b2db4e7f09
  1. 4
      package/madwifi/files/lib/wifi/madwifi.sh

@ -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

Loading…
Cancel
Save