summaryrefslogtreecommitdiffstats
path: root/src/host/layer23/include/osmocom/bb/common
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2023-05-19 16:21:45 +0200
committerPau Espin Pedrol <pespin@sysmocom.de>2023-05-22 16:12:09 +0200
commitfd461b0218461b1a2bec20b75cca627fa8935dcf (patch)
treee1d15d37f9afe3a63efd59a285116449a3df9174 /src/host/layer23/include/osmocom/bb/common
parent741ef88d422e429ab8d68b3d184dfcde5ca8b6eb (diff)
layer23: Define barr field as bool
Diffstat (limited to 'src/host/layer23/include/osmocom/bb/common')
-rw-r--r--src/host/layer23/include/osmocom/bb/common/settings.h2
-rw-r--r--src/host/layer23/include/osmocom/bb/common/subscriber.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/host/layer23/include/osmocom/bb/common/settings.h b/src/host/layer23/include/osmocom/bb/common/settings.h
index add8dc3c..f24b0069 100644
--- a/src/host/layer23/include/osmocom/bb/common/settings.h
+++ b/src/host/layer23/include/osmocom/bb/common/settings.h
@@ -63,7 +63,7 @@ struct test_sim_settings {
uint32_t tmsi;
uint8_t ki_type;
uint8_t ki[16]; /* 128 bit max */
- uint8_t barr;
+ bool barr;
bool rplmn_valid;
struct osmo_plmn_id rplmn;
uint16_t lac;
diff --git a/src/host/layer23/include/osmocom/bb/common/subscriber.h b/src/host/layer23/include/osmocom/bb/common/subscriber.h
index cbcfd0e3..e9779e6b 100644
--- a/src/host/layer23/include/osmocom/bb/common/subscriber.h
+++ b/src/host/layer23/include/osmocom/bb/common/subscriber.h
@@ -84,7 +84,7 @@ struct gsm_subscriber {
struct osmo_plmn_id plmn;
/* our access */
- uint8_t acc_barr; /* if we may access, if cell barred */
+ bool acc_barr; /* if we may access, if cell barred */
uint16_t acc_class; /* bitmask of what we may access */
/* talk to SIM */