diff options
author | Vadim Yanitskiy <axilirator@gmail.com> | 2019-02-02 12:26:00 +0300 |
---|---|---|
committer | Vadim Yanitskiy <axilirator@gmail.com> | 2019-02-02 12:26:11 +0300 |
commit | 7ad1df2582e32e24d0465cd37f0417dc1930db77 (patch) | |
tree | 3fb49f5c6d513f8a427a2e15e164e6fa9cc6c13a /src/host/layer23/include/osmocom/bb | |
parent | ea5804398ab956fefb3dc71ff4bbc5767c7e0012 (diff) |
common/osmocom_data.h: use proper type for SAP card status
Change-Id: I7388ec60ca2dff59c0a0e3fdacf5a3af0c244c73
Diffstat (limited to 'src/host/layer23/include/osmocom/bb')
-rw-r--r-- | src/host/layer23/include/osmocom/bb/common/osmocom_data.h | 5 |
1 files changed, 4 insertions, 1 deletions
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 ee48d6d4..14e594cb 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 @@ struct osmocom_ms; #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 osmocom_ms; 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; |