2010/8/25  <[email protected]>:
> I believe the right place to call the sim_pin_check() will be
> before the if condition(if (sim->language_prefs == NULL)) in
> sim_efpl_read_cb(), like shown below
>
>      if (efpl) {
>                g_slist_foreach(efpl, (GFunc)g_free, NULL);
>              g_slist_free(efpl);
>        }
>
>        sim_pin_check(sim);
>
>      if (sim->language_prefs == NULL)
>            return;
>
>      ofono_dbus_signal_array_property_changed(conn, path,
>
> OFONO_SIM_MANAGER_INTERFACE,
>                                               "PreferredLanguages",
>                                               DBUS_TYPE_STRING,
>                                               &sim->language_prefs);
>
> Let me know your views on this.

I think you are right. I've submitted a patch doing this in slightly
different manner...

-- 
Pekka.Pessi mail at nokia.com
_______________________________________________
ofono mailing list
[email protected]
http://lists.ofono.org/listinfo/ofono

Reply via email to