Commit 165f0f94 authored by Tien-Thinh Nguyen's avatar Tien-Thinh Nguyen

minor update

parent d5192ae5
...@@ -615,7 +615,6 @@ rlc_op_status_t rrc_rlc_remove_rlc ( ...@@ -615,7 +615,6 @@ rlc_op_status_t rrc_rlc_remove_rlc (
} }
if ((sourceL2Id > 0) && (destinationL2Id > 0) ){ if ((sourceL2Id > 0) && (destinationL2Id > 0) ){
key = RLC_COLL_KEY_SOURCE_DEST_VALUE(ctxt_pP->module_id, ctxt_pP->rnti, ctxt_pP->enb_flag, rb_idP, sourceL2Id, destinationL2Id, srb_flagP); key = RLC_COLL_KEY_SOURCE_DEST_VALUE(ctxt_pP->module_id, ctxt_pP->rnti, ctxt_pP->enb_flag, rb_idP, sourceL2Id, destinationL2Id, srb_flagP);
key_lcid = RLC_COLL_KEY_LCID_SOURCE_DEST_VALUE(ctxt_pP->module_id, ctxt_pP->rnti, ctxt_pP->enb_flag, chan_idP, sourceL2Id, destinationL2Id, srb_flagP);
} else } else
#endif #endif
{ {
...@@ -645,7 +644,14 @@ rlc_op_status_t rrc_rlc_remove_rlc ( ...@@ -645,7 +644,14 @@ rlc_op_status_t rrc_rlc_remove_rlc (
(srb_flagP) ? "SRB" : "DRB", (srb_flagP) ? "SRB" : "DRB",
rb_idP); rb_idP);
} }
#ifdef Rel14
if ((sourceL2Id > 0) && (destinationL2Id > 0) ){
key_lcid = RLC_COLL_KEY_LCID_SOURCE_DEST_VALUE(ctxt_pP->module_id, ctxt_pP->rnti, ctxt_pP->enb_flag, lcid, sourceL2Id, destinationL2Id, srb_flagP);
} else
#endif
{
key_lcid = RLC_COLL_KEY_LCID_VALUE(ctxt_pP->module_id, ctxt_pP->rnti, ctxt_pP->enb_flag, lcid, srb_flagP); key_lcid = RLC_COLL_KEY_LCID_VALUE(ctxt_pP->module_id, ctxt_pP->rnti, ctxt_pP->enb_flag, lcid, srb_flagP);
}
h_lcid_rc = hashtable_get(rlc_coll_p, key_lcid, (void**)&rlc_union_p); h_lcid_rc = hashtable_get(rlc_coll_p, key_lcid, (void**)&rlc_union_p);
} else { } else {
h_lcid_rc = HASH_TABLE_KEY_NOT_EXISTS; h_lcid_rc = HASH_TABLE_KEY_NOT_EXISTS;
......
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