diff --git a/openair3/NAS/UE/nas_user.c b/openair3/NAS/UE/nas_user.c index 27f632831e4d0acfdb1bb0a555649e2d3ab0179a..3108858d06f539c4661c0fe27975dec90ff8e3fe 100644 --- a/openair3/NAS/UE/nas_user.c +++ b/openair3/NAS/UE/nas_user.c @@ -162,7 +162,7 @@ void nas_user_initialize(nas_user_t *user, emm_indication_callback_t emm_cb, user->nas_user_nvdata = calloc_or_fail(sizeof(user_nvdata_t)); /* Get UE data stored in the non-volatile memory device */ - int rc = memory_read(user->usim_data_store, user->nas_user_nvdata, sizeof(user_nvdata_t)); + int rc = memory_read(user->user_nvdata_store, user->nas_user_nvdata, sizeof(user_nvdata_t)); if (rc != RETURNok) { LOG_TRACE(ERROR, "USR-MAIN - Failed to read %s", user->nas_user_nvdata); }