summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlaforge <laforge@99fdad57-331a-0410-800a-d7fa5415bdb3>2007-08-17 08:35:29 +0000
committerlaforge <laforge@99fdad57-331a-0410-800a-d7fa5415bdb3>2007-08-17 08:35:29 +0000
commitc6aa90bcc3f3e6d93862e2b96245bf1ddf446bbb (patch)
tree18cbb774b9a7196317de5c483551f739c156cff3
parent4a27ed37e287075a2476b9452e1f5eba0bef4e57 (diff)
Ignore [WCDMA] messages in HTC Universal.
git-svn-id: http://svn.openmoko.org/trunk/src/target/gsm@2731 99fdad57-331a-0410-800a-d7fa5415bdb3
-rw-r--r--src/gsmd/vendor_qc.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/gsmd/vendor_qc.c b/src/gsmd/vendor_qc.c
index 1aa4e6f..7b2f44b 100644
--- a/src/gsmd/vendor_qc.c
+++ b/src/gsmd/vendor_qc.c
@@ -69,8 +69,15 @@ out_free_io:
return -EIO;
}
+static int wcdma_parse(char *buf, int len, const char *param,
+ struct gsmd *gsmd)
+{
+ return 0;
+}
+
static const struct gsmd_unsolicit qc_unsolicit[] = {
{ "@HTCCSQ", &htccsq_parse }, /* Signal Quality */
+ { "[WCDMA]", &wcdma_parse }, /* ignore [WCDMA] messages */
/* FIXME: parse the below and generate the respective events */
@@ -100,7 +107,7 @@ static int qc_initsettings(struct gsmd *g)
struct gsmd_vendor_plugin gsmd_vendor_plugin = {
.name = "Qualcomm msm6250",
- .ext_chars = "@",
+ .ext_chars = "@[",
.num_unsolicit = ARRAY_SIZE(qc_unsolicit),
.unsolicit = qc_unsolicit,
.detect = &qc_detect,
personal git repositories of Harald Welte. Your mileage may vary