Hi Antara,

On 9/27/19 1:46 AM, Antara Borwankar wrote:
Added handling for cid 0 in +CGDCONT callback.
---
  drivers/atmodem/gprs.c | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/atmodem/gprs.c b/drivers/atmodem/gprs.c
index 16f4927..defbba0 100644
--- a/drivers/atmodem/gprs.c
+++ b/drivers/atmodem/gprs.c
@@ -240,7 +240,7 @@ static void at_cgdcont_read_cb(gboolean ok, GAtResult 
*result,
                return;
        }
- cids = l_uintset_new(activated_cid);
+       cids = l_uintset_new_from_range(0,activated_cid);

Applied with a silent amend to put a space between ',' and 2nd argument.

l_uintset_put(cids, activated_cid);

Regards,
-Denis
_______________________________________________
ofono mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to