summaryrefslogtreecommitdiffstats
path: root/src/host/layer23/include/osmocom/bb/common
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2023-01-16 11:34:08 +0100
committerpespin <pespin@sysmocom.de>2023-01-17 18:16:34 +0000
commit0621ff9cbd4bf825ef52958eefce30e3523c988a (patch)
tree22d7134e38c59d8d9483453bf38f471005cdb4a4 /src/host/layer23/include/osmocom/bb/common
parent3d3505b72655e23d820b79d48f1f7bb321836953 (diff)
layer23: ms.h: Use enum type in ms->shutdown
Diffstat (limited to 'src/host/layer23/include/osmocom/bb/common')
-rw-r--r--src/host/layer23/include/osmocom/bb/common/ms.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/host/layer23/include/osmocom/bb/common/ms.h b/src/host/layer23/include/osmocom/bb/common/ms.h
index f40e1818..a706a4cc 100644
--- a/src/host/layer23/include/osmocom/bb/common/ms.h
+++ b/src/host/layer23/include/osmocom/bb/common/ms.h
@@ -59,7 +59,7 @@ struct rx_meas_stat {
int16_t s, rl_fail;
};
-enum {
+enum osmobb_ms_shutdown_st {
MS_SHUTDOWN_NONE = 0,
MS_SHUTDOWN_IMSI_DETACH = 1,
MS_SHUTDOWN_WAIT_RESET = 2,
@@ -74,7 +74,7 @@ struct osmocom_ms {
struct osmol1_entity l1_entity;
bool started, deleting;
- uint8_t shutdown;
+ enum osmobb_ms_shutdown_st shutdown;
struct gsm_support support;
struct gsm_settings settings;
struct gsm_subscriber subscr;