don't call wpa_supplicant unconditionally

SVN-Revision: 6656
This commit is contained in:
Felix Fietkau 2007-03-24 01:03:42 +00:00
parent 4a65dd20fe
commit c2d5b2d04a

View file

@ -224,7 +224,7 @@ EOF
#add wpa_supplicant calls here
;;
esac
wpa_supplicant ${bridge:+ -b $bridge} -Bw -D wext -i "$ifname" -c /var/run/wpa_supplicant-$ifname.conf
[ -z "$proto" ] || wpa_supplicant ${bridge:+ -b $bridge} -Bw -D wext -i "$ifname" -c /var/run/wpa_supplicant-$ifname.conf
;;
esac
first=0