aboutsummaryrefslogtreecommitdiff
path: root/netcfg
diff options
context:
space:
mode:
Diffstat (limited to 'netcfg')
-rwxr-xr-xnetcfg4
1 files changed, 2 insertions, 2 deletions
diff --git a/netcfg b/netcfg
index f58bfbf..f83d280 100755
--- a/netcfg
+++ b/netcfg
@@ -128,8 +128,8 @@ start_profile()
[ $? -ne 0 ] && cat $WPA_CONF && stat_fail && return
fi
- [ "$WPA_OPTS" ] || WPA_OPTS="-Dwext"
- wpa_supplicant -wB -i ${WIFI_INTERFACE} -c ${WPA_CONF} $WPA_OPTS
+ [ "$WPAOPTS" ] || WPAOPTS="-Dwext"
+ wpa_supplicant -wB -i ${WIFI_INTERFACE} -c ${WPA_CONF} $WPAOPTS
# I donīt know how we could determine if wpa_supplicant is ready
sleep 2