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,7 +189,8 @@ static void clcc_poll_cb(gboolean ok, GAtResult *result, gpointer user_data)
|
|||
* and we're forced to use CLCC and clip_validity
|
||||
* is 1
|
||||
*/
|
||||
nc->clip_validity = oc->clip_validity;
|
||||
if (oc->clip_validity == 1)
|
||||
nc->clip_validity = oc->clip_validity;
|
||||
|
||||
/*
|
||||
* CNAP doesn't arrive as part of CLCC, always
|
||||
|
|
Loading…
Reference in New Issue