summaryrefslogtreecommitdiffstats
path: root/src/host/layer23/include/osmocom/bb/common
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2023-04-25 13:14:35 +0200
committerPau Espin Pedrol <pespin@sysmocom.de>2023-04-26 14:14:29 +0200
commit95988ff2889bc9b83dbb7a9e49c71364c380e0b4 (patch)
tree00a91b8d5073b8a135d5afc631bc2281dad8d424 /src/host/layer23/include/osmocom/bb/common
parent7d45f4d4eea6f73e92ce8e484ca884df943d5ed5 (diff)
layer23: Use GSM23003_IMEI(SV)_NUM_DIGITS from libosmocore
Diffstat (limited to 'src/host/layer23/include/osmocom/bb/common')
-rw-r--r--src/host/layer23/include/osmocom/bb/common/settings.h4
1 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 60b9df1d..88ce280a 100644
--- a/src/host/layer23/include/osmocom/bb/common/settings.h
+++ b/src/host/layer23/include/osmocom/bb/common/settings.h
@@ -69,8 +69,8 @@ struct gsm_settings {
struct audio_settings audio;
/* IMEI */
- char imei[16];
- char imeisv[17];
+ char imei[GSM23003_IMEI_NUM_DIGITS + 1];
+ char imeisv[GSM23003_IMEISV_NUM_DIGITS + 1];
char imei_random;
/* network search */