pespin has submitted this change. ( https://gerrit.osmocom.org/c/osmocom-bb/+/32437 )
(
2 is the latest approved patch-set. No files were changed between the latest approved patch-set and the submitted one. )Change subject: layer23: Use GSM23003_IMEI(SV)_NUM_DIGITS from libosmocore ......................................................................
layer23: Use GSM23003_IMEI(SV)_NUM_DIGITS from libosmocore
Change-Id: I12a96043947c0f5366f550944a4df5edd2fd2c9d --- M src/host/layer23/include/osmocom/bb/common/settings.h 1 file changed, 11 insertions(+), 2 deletions(-)
Approvals: osmith: Looks good to me, approved fixeria: Looks good to me, but someone else must approve Jenkins Builder: Verified
diff --git a/src/host/layer23/include/osmocom/bb/common/settings.h b/src/host/layer23/include/osmocom/bb/common/settings.h index 60b9df1..88ce280 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 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 */