[PATCH] huawei: reset disconnect_pending to NULL when ^NDISSTATQRY fails

Dan Williams dcbw at redhat.com
Wed Jul 31 08:07:37 PDT 2013


On Wed, 2013-07-31 at 17:00 +0200, Aleksander Morgado wrote:
> On 31/07/13 09:59, Ben Chan wrote:
> > ---
> >  plugins/huawei/mm-broadband-bearer-huawei.c | 2 +-
> >  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> Thanks; pushed to git master and mm-1-0.

Oh hah, I was like *JUST* doing that too.  You win.

Dan

> 
> > 
> > diff --git a/plugins/huawei/mm-broadband-bearer-huawei.c b/plugins/huawei/mm-broadband-bearer-huawei.c
> > index 1f330d3..13499e0 100644
> > --- a/plugins/huawei/mm-broadband-bearer-huawei.c
> > +++ b/plugins/huawei/mm-broadband-bearer-huawei.c
> > @@ -483,7 +483,7 @@ disconnect_ndisstatqry_check_ready (MMBaseModem *modem,
> >          mm_dbg ("Modem doesn't properly support ^NDISSTATQRY command: %s", error->message);
> >          g_error_free (error);
> >  
> > -        ctx->self->priv->connect_pending = NULL;
> > +        ctx->self->priv->disconnect_pending = NULL;
> >          g_simple_async_result_set_error (ctx->result,
> >                                           MM_MOBILE_EQUIPMENT_ERROR,
> >                                           MM_MOBILE_EQUIPMENT_ERROR_NOT_SUPPORTED,
> > 
> 
> 




More information about the ModemManager-devel mailing list