vendor_wavecom: Make sure MCC of first reported cell is not zero
This commit is contained in:
parent
ab81993da2
commit
06253f3620
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue