pespin has submitted this change. ( 
https://gerrit.osmocom.org/c/osmocom-bb/+/32439 )

Change subject: Initialize/release sim & subscriber ms parts in common/
......................................................................

Initialize/release sim & subscriber ms parts in common/

Change-Id: Ifb88f7e4dcc049a687af213be597d495731b24b9
---
M src/host/layer23/src/common/ms.c
1 file changed, 13 insertions(+), 0 deletions(-)

Approvals:
  osmith: Looks good to me, but someone else must approve
  fixeria: Looks good to me, but someone else must approve
  Jenkins Builder: Verified
  pespin: Looks good to me, approved




diff --git a/src/host/layer23/src/common/ms.c b/src/host/layer23/src/common/ms.c
index ee27096..4b1440e 100644
--- a/src/host/layer23/src/common/ms.c
+++ b/src/host/layer23/src/common/ms.c
@@ -27,6 +27,8 @@
 static int osmocom_ms_talloc_destructor(struct osmocom_ms *ms)
 {
        gprs_settings_fi(ms);
+       gsm_subscr_exit(ms);
+       gsm_sim_exit(ms);
        return 0;
 }

@@ -58,6 +60,8 @@
        gsm_support_init(ms);
        gsm_settings_init(ms);
        gprs_settings_init(ms);
+       gsm_sim_init(ms);
+       gsm_subscr_init(ms);

        return ms;
 }

--
To view, visit https://gerrit.osmocom.org/c/osmocom-bb/+/32439
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings

Gerrit-Project: osmocom-bb
Gerrit-Branch: master
Gerrit-Change-Id: Ifb88f7e4dcc049a687af213be597d495731b24b9
Gerrit-Change-Number: 32439
Gerrit-PatchSet: 5
Gerrit-Owner: pespin <[email protected]>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <[email protected]>
Gerrit-Reviewer: osmith <[email protected]>
Gerrit-Reviewer: pespin <[email protected]>
Gerrit-MessageType: merged

Reply via email to