On Fri 2019-09-27 12:16:32, 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);
>  

For consistency, it should probably be "(0, activated_cid);".

>       l_uintset_put(cids, activated_cid);
>

Best regards,
                                                                        Pavel
-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) 
http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html

Attachment: signature.asc
Description: Digital signature

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

Reply via email to