Change in osmocom-bb[master]: common/osmocom_data.h: use proper type for SAP card status

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

Vadim Yanitskiy gerrit-no-reply at lists.osmocom.org
Sun Feb 3 11:26:40 UTC 2019


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 <axilirator at gmail.com>
Gerrit-Reviewer: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Jenkins Builder (1000002)
Gerrit-Reviewer: Vadim Yanitskiy <axilirator at gmail.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20190203/36dae0fd/attachment.htm>


More information about the gerrit-log mailing list