r4903 - developers/werner/bin
werner at docs.openmoko.org
werner at docs.openmoko.org
Mon Jan 26 05:58:51 CET 2009
Author: werner
Date: 2009-01-26 05:58:51 +0100 (Mon, 26 Jan 2009)
New Revision: 4903
Modified:
developers/werner/bin/wlanscan
Log:
Some versions of iwlist use = some use :. Accept both.
Modified: developers/werner/bin/wlanscan
===================================================================
--- developers/werner/bin/wlanscan 2009-01-26 03:19:24 UTC (rev 4902)
+++ developers/werner/bin/wlanscan 2009-01-26 04:58:51 UTC (rev 4903)
@@ -21,9 +21,9 @@
essid = substr($0, RSTART+1, RLENGTH-2)
}
/^ *Quality/ {
- match($0, /Signal level=[^ ]* /)
+ match($0, /Signal level[=:][^ ]* /)
signal = substr($0, RSTART+13, RLENGTH-14)
- match($0, /Noise level=[^ ]* /)
+ match($0, /Noise level[=:][^ ]* /)
signal = signal "/" substr($0, RSTART+12, RLENGTH-13)
}
/^ *Encryption key:off/ {
More information about the commitlog
mailing list