[PATCH] huawei: delay processing of network initiated bearer disconnection

Ben Chan benchan at chromium.org
Thu Sep 19 00:41:11 PDT 2013


>
> > I guess the side effect of that is a client-initiated disconnect will
> > then fail with an in progress error, which seems ok.
> >
>
> Yeah.
>
> > To report the disconnecting state, we'd need to generalize
> > mm_bearer_report_disconnection() into mm_bearer_report_status(), right?
>
> Yes, and make sure the plugin subclassing the method calls the parent
> method as well.
>

How about we first create a patch that:
- replaces mm_bearer_report_disconnection with a more generic
mm_bearer_report_status
- replaces bearer subclass's report_disconnection with report_status
- in bearer subclass's report_status, guard the existing code with "if
(status == MM_BEARER_STATUS_DISCONNECTED)"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/modemmanager-devel/attachments/20130919/4080e285/attachment.html>


More information about the ModemManager-devel mailing list