don't call wpa_supplicant unconditionally

SVN-Revision: 6656
master
Felix Fietkau 18 years ago
parent 4a65dd20fe
commit c2d5b2d04a
  1. 2
      package/madwifi/files/lib/wifi/madwifi.sh

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

Loading…
Cancel
Save