Denis Kenzior <denkenz(a)gmail.com> writes:
Hi Zhenhua,
On 07/27/2010 07:25 PM, Zhenhua Zhang wrote:
> Huawei modem closes the modem port after PPP disconnect. So the channel
> of gatchat is NULL in ppp_disconnect. In such case, we resume the chat
> and it causes huawei_disconnect() get called and the gprs context is
> removed later.
>
> Before removing this gprs context, we should reply the pending DBus
> message to the client.
> ---
Since V2 was reported to work I went ahead and applied this version.
Thanks for the fix.
I quickly tested current git (which should contain this patch) with
Huawei E1552 and ofono doesn't crash anymore. But now ofono doesn't
connect after a few rounds of connect, disconnect, connect, disconnect
testing. I need to unplug and plug in my modem to get it working again.
I don't know if this patch caused the regression or not.
--
Kalle Valo