aboutsummaryrefslogtreecommitdiffstats
path: root/package/madwifi/files
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2007-03-24 01:03:42 +0000
committerFelix Fietkau <nbd@openwrt.org>2007-03-24 01:03:42 +0000
commit94ad65aa18822fd7b56fd80dc1afd9f746d90397 (patch)
treeb653c39091d41dfc27508df93e96f72f8ec50de4 /package/madwifi/files
parent2c8d0980de8161ed8a897e18235c8a6164805ab9 (diff)
downloadupstream-94ad65aa18822fd7b56fd80dc1afd9f746d90397.tar.gz
upstream-94ad65aa18822fd7b56fd80dc1afd9f746d90397.tar.bz2
upstream-94ad65aa18822fd7b56fd80dc1afd9f746d90397.zip
don't call wpa_supplicant unconditionally
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6656 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/madwifi/files')
-rwxr-xr-xpackage/madwifi/files/lib/wifi/madwifi.sh2
1 files changed, 1 insertions, 1 deletions
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