fix GSM signal strength parsing (Closes: 291)

git-svn-id: http://svn.openmoko.org/trunk/src/target/gsm@1520 99fdad57-331a-0410-800a-d7fa5415bdb3
This commit is contained in:
laforge 2007-03-28 00:21:15 +00:00
parent dc0249fe1a
commit 3e46025338
1 changed files with 1 additions and 2 deletions

View File

@ -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;