Hi,

On 12/10/2010 12:28 PM, F. Gau wrote:
> From: M. Dietrich <[email protected]>
> 
>       while the sim detection does not work this patch at least allows to use
>       those modems. until someone has the time to work out a correct solution
>       this is a usefull workaround.
> ---
>  plugins/huawei.c |    1 +
>  1 files changed, 1 insertions(+), 0 deletions(-)
> 
> diff --git a/plugins/huawei.c b/plugins/huawei.c
> index 25dfaca..df506d3 100644
> --- a/plugins/huawei.c
> +++ b/plugins/huawei.c
> @@ -586,6 +586,7 @@ static void huawei_pre_sim(struct ofono_modem *modem)
>       ofono_devinfo_create(modem, 0, "atmodem", data->pcui);
>       data->sim = ofono_sim_create(modem, OFONO_VENDOR_QUALCOMM_MSM,
>                                       "atmodem", data->pcui);
> +     ofono_sim_inserted_notify(data->sim, TRUE);
>  
>       data->sim_poll_count = 0;
>       query_sim_state(modem);

I don't want to completely bypass the sim inserted logic (which seems to
work on other Huawei models) for the sake of EM770.

So I really prefer that we do this a bit smarter.  Even simple model to
behavior matching would be acceptable...

Regards,
-Denis
_______________________________________________
ofono mailing list
[email protected]
http://lists.ofono.org/listinfo/ofono

Reply via email to