UE/*: fix ueid = 0

This commit is contained in:
Frédéric Leroy
2017-01-25 13:24:30 +01:00
parent c7a36ec6d2
commit 38d7adc7e3
13 changed files with 21 additions and 22 deletions
+2 -2
View File
@@ -296,7 +296,7 @@ int esm_proc_pdn_connectivity_request(nas_user_t *user, int is_standalone, int p
* Notity EMM that ESM PDU has to be forwarded to lower layers
*/
emm_sap.primitive = EMMESM_UNITDATA_REQ;
emm_sap.u.emm_esm.ueid = 0;
emm_sap.u.emm_esm.ueid = user->ueid;
emm_esm->msg.length = msg->length;
emm_esm->msg.value = msg->value;
rc = emm_sap_send(user, &emm_sap);
@@ -631,7 +631,7 @@ static void *_pdn_connectivity_t3482_handler(void *args)
* has to be sent again
*/
emm_sap.primitive = EMMESM_UNITDATA_REQ;
emm_sap.u.emm_esm.ueid = 0;
emm_sap.u.emm_esm.ueid = user->ueid;
emm_esm->msg.length = data->msg.length;
emm_esm->msg.value = data->msg.value;
rc = emm_sap_send(user, &emm_sap);