gemalto: add PIN retries support in plugin

In SimManager, the Retries property isn't used for gemalto modems.
The at command AT^SPIC is used to get the remaining retries left
for the current required password type.

This commit enable the use of the driver in the gemalto plugin
This commit is contained in:
Gabriel Lucas 2017-11-06 14:57:09 +01:00 committed by Denis Kenzior
parent 90a89b2529
commit 3a7a4d7ae6
1 changed files with 2 additions and 1 deletions

View File

@ -420,7 +420,8 @@ static void gemalto_pre_sim(struct ofono_modem *modem)
ofono_devinfo_create(modem, 0, "atmodem", data->app);
ofono_location_reporting_create(modem, 0, "gemaltomodem", data->app);
sim = ofono_sim_create(modem, 0, "atmodem", data->app);
sim = ofono_sim_create(modem, OFONO_VENDOR_CINTERION, "atmodem",
data->app);
if (sim && data->have_sim == TRUE)
ofono_sim_inserted_notify(sim, TRUE);