fixes for the last commit.

This commit is contained in:
solomon 2002-10-30 23:37:17 +00:00
parent dd76c2cfa8
commit f08ee9d934

View file

@ -103,8 +103,10 @@ wlan_source_config_for_ssid ()
{
# $1 == ssid[:BSSID]
ssid=`echo $1 | sed -ne 's/\(.*\)\(:..:..:..:..:..:..\).*/\1/p`
bssid=`echo $1 | sed -ne 's/\(.*\):\(..:..:..:..:..:..\).*/\2/p`
if [ X"$1" != X"" ] ; then
ssid=`echo $1 | sed -ne 's/\(.*\)\(:..:..:..:..:..:..\).*/\1/p`
bssid=`echo $1 | sed -ne 's/\(.*\):\(..:..:..:..:..:..\).*/\2/p`
fi
DesiredSSID="$ssid"
DesiredBSSID=$bssid
@ -215,9 +217,9 @@ wlan_scan ()
done
if [ $bssfound = -1 ]; then
# didn't find what we were looking for
echo "didn't find what we were looking for"
else
# found it! And here we join/autojoin..
echo "found it! And here we join/autojoin.."
fi
}