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

Aleksander Morgado aleksander at lanedo.com
Thu Sep 19 00:22:12 PDT 2013


On 19/09/13 09:14, Ben Chan wrote:
> 
>     Just wondering; wouldn't it make sense to have the bearer in
>     MM_BEARER_STATUS_DISCONNECTING state once we receive a network-initiated
>     disconnection notification? That would leave the bearer in disconnecting
>     state for the 4s delay until we notify fully disconnected. Could you
>     check if that makes sense?
> 
> 
> 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.

-- 
Aleksander


More information about the ModemManager-devel mailing list