Commit 7e2c8e39 authored by Wilson W.K. Thong's avatar Wilson W.K. Thong

fixed oaisim build failed with the new KeNB refresh request message from NAS -> AS

parent fe2b7d80
...@@ -72,7 +72,9 @@ Description Defines the security mode control EMM procedure executed by the ...@@ -72,7 +72,9 @@ Description Defines the security mode control EMM procedure executed by the
#include "secu_defs.h" #include "secu_defs.h"
#include "msc.h" #include "msc.h"
#if defined(NAS_BUILT_IN_UE)
#include "nas_itti_messaging.h" #include "nas_itti_messaging.h"
#endif
/****************************************************************************/ /****************************************************************************/
/**************** E X T E R N A L D E F I N I T I O N S ****************/ /**************** E X T E R N A L D E F I N I T I O N S ****************/
...@@ -295,7 +297,9 @@ int emm_proc_security_mode_command(int native_ksi, int ksi, ...@@ -295,7 +297,9 @@ int emm_proc_security_mode_command(int native_ksi, int ksi,
_emm_data.security->selected_algorithms.encryption = seea; _emm_data.security->selected_algorithms.encryption = seea;
_emm_data.security->selected_algorithms.integrity = seia; _emm_data.security->selected_algorithms.integrity = seia;
#if defined(NAS_BUILT_IN_UE)
nas_itti_kenb_refresh_req(_security_data.kenb.value); nas_itti_kenb_refresh_req(_security_data.kenb.value);
#endif
} }
/* /*
* NAS security mode command not accepted by the UE * NAS security mode command not accepted by the UE
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment