pespin has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmocom-bb/+/32437 )
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(-)
git pull ssh://gerrit.osmocom.org:29418/osmocom-bb refs/changes/37/32437/1
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 */