Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
dyyu
openairinterface5G
Commits
ccfbe647
Commit
ccfbe647
authored
Oct 02, 2017
by
Cedric Roux
Browse files
bgufix: fix config srb1 parsing
parent
60d96354
Changes
1
Hide whitespace changes
Inline
Side-by-side
openair2/ENB_APP/enb_config.c
View file @
ccfbe647
...
...
@@ -543,7 +543,7 @@ int RCconfig_RRC(MessageDef *msg_p, uint32_t i, eNB_RRC_INST *rrc) {
}
printf
(
"RRC %d: Southbound Transport %s
\n
"
,
j
,
*
(
ENBParamList
.
paramarray
[
i
][
ENB_TRANSPORT_S_PREFERENCE_IDX
].
strptr
));
printf
(
"RRC %d: Southbound Transport %s
\n
"
,
i
,
*
(
ENBParamList
.
paramarray
[
i
][
ENB_TRANSPORT_S_PREFERENCE_IDX
].
strptr
));
if
(
strcmp
(
*
(
ENBParamList
.
paramarray
[
i
][
ENB_TRANSPORT_S_PREFERENCE_IDX
].
strptr
),
"local_mac"
)
==
0
)
{
...
...
@@ -1719,8 +1719,8 @@ int RCconfig_RRC(MessageDef *msg_p, uint32_t i, eNB_RRC_INST *rrc) {
}
}
char
srb1path
[
MAX_OPTNAME_SIZE
*
2
+
8
];
int
npar
=
config_get
(
SRB1Params
,
sizeof
(
SRB1Params
)
/
sizeof
(
paramdef_t
),
enbpath
);
sprintf
(
srb1path
,
"%s.%s"
,
enbpath
,
ENB_CONFIG_STRING_SRB1
);
int
npar
=
config_get
(
SRB1Params
,
sizeof
(
SRB1Params
)
/
sizeof
(
paramdef_t
),
srb1path
);
if
(
npar
==
sizeof
(
SRB1Params
)
/
sizeof
(
paramdef_t
))
{
switch
(
srb1_max_retx_threshold
)
{
case
1
:
...
...
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