summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2013-03-02 12:39:37 +0100
committerHarald Welte <laforge@gnumonks.org>2013-03-02 12:39:37 +0100
commit06253f362045c792baaf1430200c8964885d13a5 (patch)
tree5616d72c2360e7bd5323369824d53593e4a7625a
parentab81993da29009836f639ccf518dbd92d08364fb (diff)
vendor_wavecom: Make sure MCC of first reported cell is not zero
-rw-r--r--src/gsmd/vendor_wavecom.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gsmd/vendor_wavecom.c b/src/gsmd/vendor_wavecom.c
index e5a9f08..1331053 100644
--- a/src/gsmd/vendor_wavecom.c
+++ b/src/gsmd/vendor_wavecom.c
@@ -1,6 +1,6 @@
/* Wavecom Q26 gsmd plugin
*
- * (C) 2012 by Harald Welte <laforge@openmoko.org>
+ * (C) 2012-2013 by Harald Welte <laforge@openmoko.org>
* All Rights Reserved
*
* This program is free software; you can redistribute it and/or modify
@@ -50,7 +50,7 @@ static int cced_parse(const char *buf, int len, const char *param,
{
struct gsmd_evt_auxdata *aux;
struct gsmd_ucmd *ucmd = usock_build_event(GSMD_MSG_EVENT, GSMD_EVT_CELLINFO, sizeof(*aux));
- char *tok = buf;
+ char *tok = param;
int rc;
if (!ucmd)
personal git repositories of Harald Welte. Your mileage may vary