Hi Remi,

>  src/gprs.c |    6 +++---
>  1 files changed, 3 insertions(+), 3 deletions(-)
> 
> diff --git a/src/gprs.c b/src/gprs.c
> index 58166f8..8afaffb 100644
> --- a/src/gprs.c
> +++ b/src/gprs.c
> @@ -1991,12 +1991,12 @@ void ofono_gprs_context_deactivated(struct 
> ofono_gprs_context *gc,
>       for (l = gc->gprs->contexts; l; l = l->next) {
>               ctx = l->data;
>  
> -             if (ctx->active == FALSE)
> -                     continue;
> -
>               if (ctx->context.cid != cid)
>                       continue;
>  
> +             if (ctx->active == FALSE)
> +                     break;
> +

I don't expect a huge amount of context that this would make a
difference actually, but sure, why not. Patch has been applied.

Regards

Marcel


_______________________________________________
ofono mailing list
[email protected]
http://lists.ofono.org/listinfo/ofono

Reply via email to