aboutsummaryrefslogtreecommitdiffstats
path: root/package/madwifi
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
commitc2d5b2d04a9a25655a3316264b2765edc82ea2f1 (patch)
tree0012adc85e11ea3c50eb49bb5fe8fb64791ba8ca /package/madwifi
parent4a65dd20fe69b1017365028d9777cdbf739de870 (diff)
downloadupstream-c2d5b2d04a9a25655a3316264b2765edc82ea2f1.tar.gz
upstream-c2d5b2d04a9a25655a3316264b2765edc82ea2f1.tar.bz2
upstream-c2d5b2d04a9a25655a3316264b2765edc82ea2f1.zip
don't call wpa_supplicant unconditionally
SVN-Revision: 6656
Diffstat (limited to 'package/madwifi')
-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