mirror of git://git.sysmocom.de/ofono
atmodem: Fix reporting of CLIP
When RING & CLCC polling is used, the CLIP will not be reported correctly if the CLIP: notification does not arrive
This commit is contained in:
parent
0597b3501a
commit
3254e5e99f
|
@ -189,6 +189,7 @@ static void clcc_poll_cb(gboolean ok, GAtResult *result, gpointer user_data)
|
||||||
* and we're forced to use CLCC and clip_validity
|
* and we're forced to use CLCC and clip_validity
|
||||||
* is 1
|
* is 1
|
||||||
*/
|
*/
|
||||||
|
if (oc->clip_validity == 1)
|
||||||
nc->clip_validity = oc->clip_validity;
|
nc->clip_validity = oc->clip_validity;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
Loading…
Reference in New Issue