- Fix issue with ue context
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4613 818b1a75-f10b-46b9-bf7c-635c3b92a50f
This commit is contained in:
@@ -522,7 +522,7 @@ int emm_proc_authentication_delete(void)
|
||||
** Others: None **
|
||||
** **
|
||||
***************************************************************************/
|
||||
int emm_proc_authentication(unsigned int ueid, int ksi,
|
||||
int emm_proc_authentication(void *ctx, unsigned int ueid, int ksi,
|
||||
const OctetString *_rand, const OctetString *autn,
|
||||
emm_common_success_callback_t success,
|
||||
emm_common_reject_callback_t reject,
|
||||
@@ -583,6 +583,7 @@ int emm_proc_authentication(unsigned int ueid, int ksi,
|
||||
emm_sap_t emm_sap;
|
||||
emm_sap.primitive = EMMREG_COMMON_PROC_REQ;
|
||||
emm_sap.u.emm_reg.ueid = ueid;
|
||||
emm_sap.u.emm_reg.ctx = ctx;
|
||||
rc = emm_sap_send(&emm_sap);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -192,8 +192,8 @@ int emm_proc_authentication_delete(void);
|
||||
#endif
|
||||
|
||||
#ifdef NAS_MME
|
||||
int emm_proc_authentication(unsigned int ueid, int ksi,
|
||||
const OctetString *rand, const OctetString *autn,
|
||||
int emm_proc_authentication(void *ctx, unsigned int ueid, int ksi,
|
||||
const OctetString *_rand, const OctetString *autn,
|
||||
emm_common_success_callback_t success,
|
||||
emm_common_reject_callback_t reject,
|
||||
emm_common_failure_callback_t failure);
|
||||
|
||||
@@ -73,7 +73,7 @@ static int _emm_cn_authentication_res(const emm_cn_auth_res_t *msg)
|
||||
* and NAS security setup to activate integrity protection and NAS
|
||||
* ciphering are mandatory.
|
||||
*/
|
||||
rc = emm_proc_authentication(emm_ctx->ueid, 0, // TODO: eksi != 0
|
||||
rc = emm_proc_authentication(emm_ctx, emm_ctx->ueid, 0, // TODO: eksi != 0
|
||||
&loc_rand, &autn,
|
||||
emm_attach_security,
|
||||
NULL,
|
||||
|
||||
Reference in New Issue
Block a user