script improvements to handle spaces.
This commit is contained in:
parent
f187ea74db
commit
cf09a799c3
2
CHANGES
2
CHANGES
|
@ -41,6 +41,8 @@
|
|||
* Intersil Corporation as part of PRISM(R) chipset product development.
|
||||
*
|
||||
* --------------------------------------------------------------------
|
||||
- Further script improvements: signal strength filtering, and some
|
||||
space handling stuff. The latter is not complete yet.
|
||||
- lnxreq_commsquality wasn't setting the status field properly on the
|
||||
response messages.
|
||||
- Workaround for spurious interrupts generated before initialization
|
||||
|
|
|
@ -103,8 +103,8 @@ wlan_source_config ()
|
|||
{
|
||||
# $1 == wlandev
|
||||
|
||||
# XXX what about spaces in SSID_$1?
|
||||
eval 'GOSSID=$SSID_'$1
|
||||
# XXX what about stray singlequotes.
|
||||
eval 'GOSSID="$SSID_'$1'"'
|
||||
wlan_source_config_for_ssid "$GOSSID"
|
||||
}
|
||||
|
||||
|
@ -186,8 +186,8 @@ wlan_ssid_in_list ()
|
|||
{
|
||||
# $1 == wlandev, $2 == ssid, $3 == bssid
|
||||
|
||||
# XXX what about spaces in SSID_$1?
|
||||
eval 'GOSSID=$SSID_'$1
|
||||
# XXX what about stray singlequotes.
|
||||
eval 'GOSSID="$SSID_'$1'"'
|
||||
|
||||
for token in $GOSSID ; do
|
||||
# XXX: process token for spaces
|
||||
|
@ -234,8 +234,8 @@ wlan_scan ()
|
|||
|
||||
# find our allowed SSID list.
|
||||
|
||||
# XXX what about spaces in SSID_$1?
|
||||
eval 'GOSSID=$SSID_'$1
|
||||
# XXX what about stray singlequotes.
|
||||
eval 'GOSSID="$SSID_'$1'"'
|
||||
|
||||
# if our list is null, then scan for anything!
|
||||
|
||||
|
|
Loading…
Reference in New Issue