diff options
author | laforge <laforge@99fdad57-331a-0410-800a-d7fa5415bdb3> | 2007-03-28 00:21:15 +0000 |
---|---|---|
committer | laforge <laforge@99fdad57-331a-0410-800a-d7fa5415bdb3> | 2007-03-28 00:21:15 +0000 |
commit | 3e4602533888f8491f355b4b11a868897139d420 (patch) | |
tree | b907f94118af3eb1f248da313abfff58eb6ead33 | |
parent | dc0249fe1a5bba609f4f57bcc91c556f6745b008 (diff) |
fix GSM signal strength parsing (Closes: 291)
git-svn-id: http://svn.openmoko.org/trunk/src/target/gsm@1520 99fdad57-331a-0410-800a-d7fa5415bdb3
-rw-r--r-- | src/gsmd/vendor_ti.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gsmd/vendor_ti.c b/src/gsmd/vendor_ti.c index 9371e1b..049433e 100644 --- a/src/gsmd/vendor_ti.c +++ b/src/gsmd/vendor_ti.c @@ -81,7 +81,7 @@ static int csq_parse(char *buf, int len, const char *param, aux = (struct gsmd_evt_auxdata *) ucmd->buf; - tok = strtok(buf, ","); + tok = strtok(param, ","); if (!tok) goto out_free_io; @@ -93,7 +93,6 @@ static int csq_parse(char *buf, int len, const char *param, aux->u.signal.sigq.ber = atoi(tok); - DEBUGP("sending EVT_SIGNAL\n"); usock_evt_send(gsmd, ucmd, GSMD_EVT_SIGNAL); return 0; |