Hi Bertrand,

>  plugins/speedup.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/plugins/speedup.c b/plugins/speedup.c
> index 90ca5e3..a7aa43c 100644
> --- a/plugins/speedup.c
> +++ b/plugins/speedup.c
> @@ -177,7 +177,7 @@ static int speedup_enable(struct ofono_modem *modem)
>       g_at_chat_send(data->modem, "ATE0 &C0 +CMEE=1", NULL, NULL, NULL, NULL);
>       g_at_chat_send(data->aux, "ATE0 &C0 +CMEE=1", NULL, NULL, NULL, NULL);
>  
> -     g_at_chat_send(data->aux, "AT+CFUN=1", NULL,
> +     g_at_chat_send(data->aux, "AT+CFUN=4", NULL,
>                                       cfun_enable, modem, NULL);

this is not a correct fix. You are messing up the logic here. You are
still in offline mode from an oFono point of view, but your modem is
actually online.

Try the same that we did for ZTE with sending +CFUN=1;+CFUN=4 if that
works out.

If not, then check if we can go CFUN=1 first and then after SIM query
succeeded, we go into CFUN=4. We do this for Huawei actually.

If none of these work, then you need to remove the set_online callback
like we do for Nokia. If you can not support online/offline mode, then
don't even try to.

And please show proper OFONO_AT_DEBUG traces. They can be part of the
commit message actually.

Regards

Marcel


_______________________________________________
ofono mailing list
[email protected]
http://lists.ofono.org/listinfo/ofono

Reply via email to