summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/gsmd/vendor_ti.c3
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;
personal git repositories of Harald Welte. Your mileage may vary