summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/gsmd/vendor_ti.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/gsmd/vendor_ti.c b/src/gsmd/vendor_ti.c
index 3124677..892945c 100644
--- a/src/gsmd/vendor_ti.c
+++ b/src/gsmd/vendor_ti.c
@@ -155,7 +155,7 @@ static int cpi_parse(char *buf, int len, const char *param, struct gsmd *gsmd)
/* direction */
tok = strtok(NULL, ",");
if (!tok)
- goto out_free_io;
+ goto out_send;
switch (*tok) {
case '0':
@@ -171,8 +171,9 @@ static int cpi_parse(char *buf, int len, const char *param, struct gsmd *gsmd)
/* mode */
tok = strtok(NULL, ",");
if (!tok)
- goto out_free_io;
+ goto out_send;
+out_send:
usock_evt_send(gsmd, ucmd, GSMD_EVT_OUT_STATUS);
return 0;
personal git repositories of Harald Welte. Your mileage may vary