aboutsummaryrefslogtreecommitdiff
path: root/net/iwconfig.sh.Linux.in
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2008-04-20 14:24:35 +0000
committerRoy Marples <roy@marples.name>2008-04-20 14:24:35 +0000
commit799686e40df455b136dfe41e805cd04a2813cc00 (patch)
tree058ec7e2a7328d15bd8797fb2fb3ceda6acdad28 /net/iwconfig.sh.Linux.in
parentd83ae59ccabcde6cf1bee735c794cea2069c0a34 (diff)
Fix force_preferred, #60.
Diffstat (limited to 'net/iwconfig.sh.Linux.in')
-rw-r--r--net/iwconfig.sh.Linux.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/iwconfig.sh.Linux.in b/net/iwconfig.sh.Linux.in
index 1610cba3..85b6cb66 100644
--- a/net/iwconfig.sh.Linux.in
+++ b/net/iwconfig.sh.Linux.in
@@ -525,7 +525,7 @@ iwconfig_force_preferred()
i=$((${i} + 1))
done
if ! ${found_AP}; then
- SSID=${e}
+ SSID=${ssid}
iwconfig_associate && return 0
fi
done
@@ -610,7 +610,7 @@ iwconfig_defaults()
iwconfig_configure()
{
- local x= APS=
+ local x= APS=-1
eval SSID=\$ssid_${IFVAR}
# Support old variable