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

Aleksander Morgado aleksander at lanedo.com
Thu Sep 19 00:46:52 PDT 2013


On 19/09/13 09:41, Ben Chan wrote:
>     > 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)"

That makes sense, yes.

-- 
Aleksander


More information about the ModemManager-devel mailing list