summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorjserv <jserv@99fdad57-331a-0410-800a-d7fa5415bdb3>2007-11-24 18:56:26 +0000
committerjserv <jserv@99fdad57-331a-0410-800a-d7fa5415bdb3>2007-11-24 18:56:26 +0000
commitf1b7cbfd7e3fa48948928d27ccca783fd1f35162 (patch)
tree9bf57e3d9faaee4487febacb7b66f0ca15e82219 /src
parent10e507ef81c36a43a843cc24d02964f9bd0ca064 (diff)
Fixlet to dead code in cpmb_detect_cb.
git-svn-id: http://svn.openmoko.org/trunk/src/target/gsm@3502 99fdad57-331a-0410-800a-d7fa5415bdb3
Diffstat (limited to 'src')
-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