summaryrefslogtreecommitdiffstats
path: root/src/host/layer23/include/osmocom/bb/common/osmocom_data.h
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <holger@moiji-mobile.com>2017-11-15 10:19:07 +0100
committerHolger Freyther <holger@freyther.de>2017-11-27 09:49:03 +0000
commit65774d447d8623257e1cbf3694542f4a421017d7 (patch)
tree530fb9e5cf482ed515f8ea888df47b0d72d6d76d /src/host/layer23/include/osmocom/bb/common/osmocom_data.h
parent42888ed9470b8217f4abc848ca8a077e17942066 (diff)
mobile: Use bool to show started can only be true or false
The state handling is complicated and maybe it gets better by moving started to bool and then the rest to an enum. Change-Id: I6aef22e7bf954a8a4ecda980c2c558eb8c9180b7
Diffstat (limited to 'src/host/layer23/include/osmocom/bb/common/osmocom_data.h')
-rw-r--r--src/host/layer23/include/osmocom/bb/common/osmocom_data.h3
1 files changed, 2 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 9b544ab9..21b28805 100644
--- a/src/host/layer23/include/osmocom/bb/common/osmocom_data.h
+++ b/src/host/layer23/include/osmocom/bb/common/osmocom_data.h
@@ -62,7 +62,8 @@ struct osmocom_ms {
uint16_t test_arfcn;
struct osmol1_entity l1_entity;
- uint8_t deleting, shutdown, started;
+ bool started, deleting;
+ uint8_t shutdown;
struct gsm_support support;
struct gsm_settings settings;
struct gsm_subscriber subscr;