summaryrefslogtreecommitdiff
path: root/src/gsmd
diff options
context:
space:
mode:
Diffstat (limited to 'src/gsmd')
-rw-r--r--src/gsmd/vendor_ti.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gsmd/vendor_ti.c b/src/gsmd/vendor_ti.c
index 2b64fcc..6a633a6 100644
--- a/src/gsmd/vendor_ti.c
+++ b/src/gsmd/vendor_ti.c
@@ -231,7 +231,7 @@ static int cpmb_detect_cb(struct gsmd_atcmd *cmd, void *ctx, char *resp)
er->tokens[2].u.string, er->tokens[3].u.numeric);
rc = gsmd_simplecmd(g, atcmd_buf);
} else {
- rc -EINVAL;
+ rc = -EINVAL;
}
talloc_free(er);
personal git repositories of Harald Welte. Your mileage may vary