fix some bash-isms.

This commit is contained in:
solomon 2003-08-22 18:36:15 +00:00
parent ad04b6e719
commit ddd4bb411d
3 changed files with 6 additions and 4 deletions

View File

@ -42,6 +42,7 @@
*
* --------------------------------------------------------------------
-pre12
- fix some bash-isms in /etc/wlan/shared (Daniel Song)
- Collapsed the BOUNDEDINT and INT types into one.
- Eliminated the WLAN_LOG_***0() macros at long last thanks to CPP
trickery. Also eliminated more cruft from wlan_compat.h

1
THANKS
View File

@ -104,6 +104,7 @@ Juan Conde <juan.conde@juntadeandalucia.es>
Ichiro Doi <ichiro@d-o-i.net>
Jeff Chua <jchua@fedex.com>
Chris Wilson <chris@qwirx.com>
Daniel Jiseok Song <jssong@wooritg.com>
[Many, many more. If I've overlooked you and you want to be listed here,
send me e-mail and I'll fix it. I _know_ a bunch of linux-wlan contributors

View File

@ -417,7 +417,7 @@ wlan_wep ()
for i in $keys ; do
result=`$WLANCTL $1 dot11req_mibset \
mibattribute=dot11WEPDefaultKey$knum=$i`
knum=$[$knum + 1]
knum=`expr $knum + 1`
done
else
result=`$WLANCTL $1 dot11req_mibset \
@ -457,13 +457,13 @@ wlan_adhoc ()
j=1
for i in $BASICRATES ; do
startcmd="$startcmd basicrate$j=$i"
j=$[j + 1]
j=`expr $j + 1`
done
j=1
for i in $OPRATES ; do
startcmd="$startcmd operationalrate$j=$i"
j=$[j + 1]
j=`expr $j + 1`
done
results=`$startcmd` # Here's where it runs
@ -512,7 +512,7 @@ wlan_dot11_join ()
j=1
for i in $OPRATES ; do
joincmd="$joincmd operationalrate$j=$i"
j=$[j + 1]
j=`expr $j + 1`
done
results=`$joincmd`