summaryrefslogtreecommitdiff
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
commitc2d5b2d04a9a25655a3316264b2765edc82ea2f1 (patch)
tree0012adc85e11ea3c50eb49bb5fe8fb64791ba8ca /package/madwifi/files
parent4a65dd20fe69b1017365028d9777cdbf739de870 (diff)
downloadmtk-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')
-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 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