vendor_wavecom: Make sure MCC of first reported cell is not zero

This commit is contained in:
Harald Welte 2013-03-02 12:39:37 +01:00
parent ab81993da2
commit 06253f3620
1 changed files with 2 additions and 2 deletions

View File

@ -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)