diff options
author | Felix Fietkau <nbd@openwrt.org> | 2007-03-24 01:03:42 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2007-03-24 01:03:42 +0000 |
commit | c2d5b2d04a9a25655a3316264b2765edc82ea2f1 (patch) | |
tree | 0012adc85e11ea3c50eb49bb5fe8fb64791ba8ca /package/madwifi/files/lib | |
parent | 4a65dd20fe69b1017365028d9777cdbf739de870 (diff) | |
download | master-31e0f0ae-c2d5b2d04a9a25655a3316264b2765edc82ea2f1.tar.gz master-31e0f0ae-c2d5b2d04a9a25655a3316264b2765edc82ea2f1.tar.bz2 master-31e0f0ae-c2d5b2d04a9a25655a3316264b2765edc82ea2f1.zip |
don't call wpa_supplicant unconditionally
SVN-Revision: 6656
Diffstat (limited to 'package/madwifi/files/lib')
-rwxr-xr-x | package/madwifi/files/lib/wifi/madwifi.sh | 2 |
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 |