Vadim Yanitskiy has submitted this change and it was merged. ( 
https://gerrit.osmocom.org/12784 )

Change subject: common/osmocom_data.h: use proper type for SAP card status
......................................................................

common/osmocom_data.h: use proper type for SAP card status

Change-Id: I7388ec60ca2dff59c0a0e3fdacf5a3af0c244c73
---
M src/host/layer23/include/osmocom/bb/common/osmocom_data.h
1 file changed, 4 insertions(+), 1 deletion(-)

Approvals:
  Jenkins Builder: Verified
  Harald Welte: Looks good to me, approved



diff --git a/src/host/layer23/include/osmocom/bb/common/osmocom_data.h 
b/src/host/layer23/include/osmocom/bb/common/osmocom_data.h
index ee48d6d..14e594c 100644
--- a/src/host/layer23/include/osmocom/bb/common/osmocom_data.h
+++ b/src/host/layer23/include/osmocom/bb/common/osmocom_data.h
@@ -13,6 +13,7 @@
 #include <osmocom/bb/mobile/subscriber.h>
 #include <osmocom/gsm/lapdm.h>
 #include <osmocom/bb/common/sap_interface.h>
+#include <osmocom/bb/common/sap_proto.h>
 #include <osmocom/bb/mobile/gsm48_rr.h>
 #include <osmocom/bb/common/sysinfo.h>
 #include <osmocom/bb/mobile/gsm322.h>
@@ -25,7 +26,9 @@
 struct osmosap_entity {
        struct osmo_fsm_inst *fi;
        uint16_t max_msg_size;
-       uint8_t card_status;
+
+       /* Current state of remote SIM card */
+       enum sap_card_status_type card_status;

        /* Optional SAP message call-back */
        sap_msg_cb_t sap_msg_cb;

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

Gerrit-Project: osmocom-bb
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: I7388ec60ca2dff59c0a0e3fdacf5a3af0c244c73
Gerrit-Change-Number: 12784
Gerrit-PatchSet: 1
Gerrit-Owner: Vadim Yanitskiy <axilira...@gmail.com>
Gerrit-Reviewer: Harald Welte <lafo...@gnumonks.org>
Gerrit-Reviewer: Jenkins Builder (1000002)
Gerrit-Reviewer: Vadim Yanitskiy <axilira...@gmail.com>

Reply via email to