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 | mtk-20170518-c2d5b2d04a9a25655a3316264b2765edc82ea2f1.zip mtk-20170518-c2d5b2d04a9a25655a3316264b2765edc82ea2f1.tar.gz mtk-20170518-c2d5b2d04a9a25655a3316264b2765edc82ea2f1.tar.bz2 |
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 1cd727a..89ab83d 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 |