diff options
Diffstat (limited to 'src/gsmd')
| -rw-r--r-- | src/gsmd/unsolicited.c | 3 | 
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gsmd/unsolicited.c b/src/gsmd/unsolicited.c index c355c71..251f4ed 100644 --- a/src/gsmd/unsolicited.c +++ b/src/gsmd/unsolicited.c @@ -160,7 +160,8 @@ static int creg_parse(char *buf, int len, const char *param,  		if (!comma)  			return -EINVAL;  		aux->u.netreg.ci = strtoul(comma+2, NULL, 16); -	} +	} else +		aux->u.netreg.lac = aux->u.netreg.ci = 0;  	return usock_evt_send(gsmd, ucmd, GSMD_EVT_NETREG);  }  | 
