UE: rename _nas_user_data to at_response and move it to nas_user_t

This commit is contained in:
Frédéric Leroy
2017-01-25 13:12:20 +01:00
parent 607f0ca377
commit 404c346182
4 changed files with 240 additions and 238 deletions
+6
View File
@@ -88,6 +88,12 @@ void *nas_ue_task(void *args_p)
itti_subscribe_event_fd (TASK_NAS_UE, user->fd);
}
user->at_response = calloc(1, sizeof(at_response_t));
if ( user->at_response == NULL ) {
LOG_E(NAS, "[UE %d] Can't allocate memory for user_at_commands\n", 0);
// FIXME stop here
}
/* Initialize NAS user */
nas_user_initialize (user, &user_api_emm_callback, &user_api_esm_callback, FIRMWARE_VERSION);
}