remove duplicate section to find bridge name

SVN-Revision: 6591
This commit is contained in:
Travis Kemen 2007-03-17 03:56:14 +00:00
parent e68e6f4be9
commit f1432e60f0

View file

@ -214,10 +214,6 @@ EOF
#add wpa_supplicant calls here
;;
esac
net_cfg="$(find_net_config "$vif")"
[ -z "$net_cfg" ] || {
bridge="$(bridge_interface "$net_cfg")"
}
wpa_supplicant ${bridge:+ -b $bridge} -Bw -D wext -i "$ifname" -c /var/run/wpa_supplicant-$ifname.conf
;;
esac