diff options
author | Pau Espin Pedrol <pespin@sysmocom.de> | 2023-05-19 16:21:45 +0200 |
---|---|---|
committer | Pau Espin Pedrol <pespin@sysmocom.de> | 2023-05-22 16:12:09 +0200 |
commit | fd461b0218461b1a2bec20b75cca627fa8935dcf (patch) | |
tree | e1d15d37f9afe3a63efd59a285116449a3df9174 /src/host/layer23/include/osmocom/bb/common | |
parent | 741ef88d422e429ab8d68b3d184dfcde5ca8b6eb (diff) |
layer23: Define barr field as bool
Change-Id: I02b95fa5437be1325cfa80fc40350280540fe802
Diffstat (limited to 'src/host/layer23/include/osmocom/bb/common')
-rw-r--r-- | src/host/layer23/include/osmocom/bb/common/settings.h | 2 | ||||
-rw-r--r-- | src/host/layer23/include/osmocom/bb/common/subscriber.h | 2 |
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 */ |