diff options
author | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2007-03-24 01:03:42 +0000 |
---|---|---|
committer | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2007-03-24 01:03:42 +0000 |
commit | 6d526991e14c2fc8b2d1538a3080ef0b8ec8fb6b (patch) | |
tree | b653c39091d41dfc27508df93e96f72f8ec50de4 /package | |
parent | 6e8c336f90f207ebc635f7ee57284256ec675bf2 (diff) |
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')
-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 1cd727ade..89ab83d8f 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 |