From: Felix Fietkau Date: Sat, 24 Mar 2007 01:03:42 +0000 (+0000) Subject: don't call wpa_supplicant unconditionally X-Git-Tag: v19.07.0-rc1~40308 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=c2d5b2d04a9a25655a3316264b2765edc82ea2f1;p=openwrt%2Fstaging%2Fhauke.git don't call wpa_supplicant unconditionally SVN-Revision: 6656 --- diff --git a/package/madwifi/files/lib/wifi/madwifi.sh b/package/madwifi/files/lib/wifi/madwifi.sh index 1cd727ade7..89ab83d8fd 100755 --- a/package/madwifi/files/lib/wifi/madwifi.sh +++ b/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