diff options
author | Pau Espin Pedrol <pespin@sysmocom.de> | 2023-04-25 13:14:35 +0200 |
---|---|---|
committer | Pau Espin Pedrol <pespin@sysmocom.de> | 2023-04-26 14:14:29 +0200 |
commit | 95988ff2889bc9b83dbb7a9e49c71364c380e0b4 (patch) | |
tree | 00a91b8d5073b8a135d5afc631bc2281dad8d424 /src | |
parent | 7d45f4d4eea6f73e92ce8e484ca884df943d5ed5 (diff) |
layer23: Use GSM23003_IMEI(SV)_NUM_DIGITS from libosmocore
Change-Id: I12a96043947c0f5366f550944a4df5edd2fd2c9d
Diffstat (limited to 'src')
-rw-r--r-- | src/host/layer23/include/osmocom/bb/common/settings.h | 4 |
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 */ |