On 05/22/2018 08:08 AM, Florent Beillonnet wrote:
plugins/gemalto.c | 2 ++
1 file changed, 2 insertions(+)
You really shouldn't need to do this given that you have a URC inside gemalto_ciev_notify() that does exactly this already.
No, I think there's a tiny bug in the core introduced by the commit you reference above. Try this change?
@@ -847,7 +847,7 @@ static void sim_enter_pin_cb(const struct ofono_error *error, void *data)
- if (sim->initialized)
+ if (sim->initialized || error->type != OFONO_ERROR_TYPE_NO_ERROR)
if (sim->pin_type == OFONO_SIM_PASSWORD_SIM_PIN ||