UE/USIM/API: fix interface for storing usim_data

This commit is contained in:
Frédéric Leroy
2017-01-25 13:29:10 +01:00
parent 45fccb0203
commit 5fc045644c
6 changed files with 43 additions and 45 deletions
+1 -1
View File
@@ -193,7 +193,7 @@ void emm_main_initialize(nas_user_t *user, emm_indication_callback_t cb, const c
/*
* Get USIM application data
*/
if ( usim_api_read(&user->usim_data) != RETURNok ) {
if ( usim_api_read(user->usim_data_store, &user->usim_data) != RETURNok ) {
/* The USIM application may not be present or not valid */
LOG_TRACE(WARNING, "EMM-MAIN - Failed to read USIM application data");
} else {