Re: [PATCH 5/6] sim: give access to the driver

2018-03-15 Thread Denis Kenzior
Hi Gabriel, +const struct ofono_sim_driver* ofono_sim_get_driver(struct ofono_sim *sim); No, please don't do this. The driver should just issue the relevant command directly. Regards, -Denis ___ ofono mailing list ofono@ofono.org

[PATCH 5/6] sim: give access to the driver

2018-03-15 Thread Gabriel Lucas
--- include/sim.h | 2 ++ src/sim.c | 5 + 2 files changed, 7 insertions(+) diff --git a/include/sim.h b/include/sim.h index fad4c0d..cf679db 100644 --- a/include/sim.h +++ b/include/sim.h @@ -217,6 +217,8 @@ struct ofono_sim *ofono_sim_create(struct ofono_modem *modem, void

[PATCH 5/6] sim: give access to the driver

2018-03-12 Thread Gabriel Lucas
--- include/sim.h | 2 ++ src/sim.c | 5 + 2 files changed, 7 insertions(+) diff --git a/include/sim.h b/include/sim.h index fad4c0d..cf679db 100644 --- a/include/sim.h +++ b/include/sim.h @@ -217,6 +217,8 @@ struct ofono_sim *ofono_sim_create(struct ofono_modem *modem, void