Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG-RAN
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wangjie
OpenXG-RAN
Commits
d08a7f4a
Commit
d08a7f4a
authored
Dec 22, 2014
by
Lionel Gauthier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
git-svn-id:
http://svn.eurecom.fr/openair4G/trunk@6308
818b1a75-f10b-46b9-bf7c-635c3b92a50f
parent
8be91317
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
1 deletion
+15
-1
openair2/LAYER2/RLC/rlc_rrc.c
openair2/LAYER2/RLC/rlc_rrc.c
+15
-1
No files found.
openair2/LAYER2/RLC/rlc_rrc.c
View file @
d08a7f4a
...
@@ -514,6 +514,7 @@ rlc_op_status_t rrc_rlc_remove_rlc (
...
@@ -514,6 +514,7 @@ rlc_op_status_t rrc_rlc_remove_rlc (
logical_chan_id_t
lcid
=
0
;
logical_chan_id_t
lcid
=
0
;
hash_key_t
key
=
HASHTABLE_QUESTIONABLE_KEY_VALUE
;
hash_key_t
key
=
HASHTABLE_QUESTIONABLE_KEY_VALUE
;
hashtable_rc_t
h_rc
;
hashtable_rc_t
h_rc
;
rlc_union_t
*
rlc_union_p
=
NULL
;
#ifdef Rel10
#ifdef Rel10
rlc_mbms_id_t
*
mbms_id_p
=
NULL
;
rlc_mbms_id_t
*
mbms_id_p
=
NULL
;
#endif
#endif
...
@@ -570,8 +571,21 @@ rlc_op_status_t rrc_rlc_remove_rlc (
...
@@ -570,8 +571,21 @@ rlc_op_status_t rrc_rlc_remove_rlc (
AssertFatal
(
rb_idP
<
NB_RB_MAX
,
"RB id is too high (%u/%d)!
\n
"
,
rb_idP
,
NB_RB_MAX
);
AssertFatal
(
rb_idP
<
NB_RB_MAX
,
"RB id is too high (%u/%d)!
\n
"
,
rb_idP
,
NB_RB_MAX
);
h_rc
=
hashtable_
remove
(
rlc_coll_p
,
key
);
h_rc
=
hashtable_
get
(
rlc_coll_p
,
key
,
&
rlc_union_p
);
if
(
h_rc
==
HASH_TABLE_OK
)
{
if
(
h_rc
==
HASH_TABLE_OK
)
{
switch
(
rlc_union_p
->
mode
)
{
case
RLC_MODE_AM
:
rlc_am_cleanup
(
&
rlc_union_p
->
rlc
.
am
);
break
;
case
RLC_MODE_UM
:
rlc_um_cleanup
(
&
rlc_union_p
->
rlc
.
um
);
break
;
case
RLC_MODE_TM
:
rlc_tm_cleanup
(
&
rlc_union_p
->
rlc
.
tm
);
break
;
default:
}
h_rc
=
hashtable_remove
(
rlc_coll_p
,
key
);
LOG_D
(
RLC
,
"[Frame %05u][%s][RLC_RRC][INST %u/%u][%s %u] RELEASED %s
\n
"
,
LOG_D
(
RLC
,
"[Frame %05u][%s][RLC_RRC][INST %u/%u][%s %u] RELEASED %s
\n
"
,
frameP
,
frameP
,
(
enb_flagP
)
?
"eNB"
:
"UE"
,
(
enb_flagP
)
?
"eNB"
:
"UE"
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment