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:20:11 +0200
committerPau Espin Pedrol <pespin@sysmocom.de>2023-05-22 16:12:09 +0200
commit741ef88d422e429ab8d68b3d184dfcde5ca8b6eb (patch)
treece4eeed7c0cb2cec295499405cc3b4feec28eff6 /src/host/layer23/include/osmocom/bb/common
parent4c8017f011d390e13247a8c6fda36754291e2638 (diff)
layer23: Define (r)plmn_valid 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 bae98481..add8dc3c 100644
--- a/src/host/layer23/include/osmocom/bb/common/settings.h
+++ b/src/host/layer23/include/osmocom/bb/common/settings.h
@@ -64,7 +64,7 @@ struct test_sim_settings {
uint8_t ki_type;
uint8_t ki[16]; /* 128 bit max */
uint8_t barr;
- uint8_t rplmn_valid;
+ bool rplmn_valid;
struct osmo_plmn_id rplmn;
uint16_t lac;
bool imsi_attached;
diff --git a/src/host/layer23/include/osmocom/bb/common/subscriber.h b/src/host/layer23/include/osmocom/bb/common/subscriber.h
index b829b2e8..cbcfd0e3 100644
--- a/src/host/layer23/include/osmocom/bb/common/subscriber.h
+++ b/src/host/layer23/include/osmocom/bb/common/subscriber.h
@@ -80,7 +80,7 @@ struct gsm_subscriber {
char sim_spn[17]; /* name of service privider */
/* PLMN last registered */
- uint8_t plmn_valid;
+ bool plmn_valid;
struct osmo_plmn_id plmn;
/* our access */