laforge has submitted this change. (
https://gerrit.osmocom.org/c/osmo-bsc/+/20202 )
Change subject: bsc_vty: fix wrong else-if statement
......................................................................
bsc_vty: fix wrong else-if statement
Related: CID#214331
Change-Id: I1b0f324a66757278f7c95d25a5192d4234432a6b
---
M src/osmo-bsc/bsc_vty.c
1 file changed, 2 insertions(+), 1 deletion(-)
Approvals:
Jenkins Builder: Verified
fixeria: Looks good to me, approved
diff --git a/src/osmo-bsc/bsc_vty.c b/src/osmo-bsc/bsc_vty.c
index b3ea01f..003939b 100644
--- a/src/osmo-bsc/bsc_vty.c
+++ b/src/osmo-bsc/bsc_vty.c
@@ -5019,7 +5019,8 @@
lchan_t = GSM_LCHAN_TCH_F;
else if (lchan->ts->pchan_on_init ==
GSM_PCHAN_TCH_F_TCH_H_PDCH && !strcmp(codec_str, "hr"))
lchan_t = GSM_LCHAN_TCH_H;
- else if ((lchan->ts->pchan_on_init ==
GSM_PCHAN_TCH_F_PDCH || GSM_PCHAN_TCH_F_TCH_H_PDCH)
+ else if ((lchan->ts->pchan_on_init ==
GSM_PCHAN_TCH_F_PDCH
+ || lchan->ts->pchan_on_init ==
GSM_PCHAN_TCH_F_TCH_H_PDCH)
&& !strcmp(codec_str, "fr"))
lchan_t = GSM_LCHAN_TCH_F;
else {
--
To view, visit https://gerrit.osmocom.org/c/osmo-bsc/+/20202
To unsubscribe, or for help writing mail filters, visit
https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-bsc
Gerrit-Branch: master
Gerrit-Change-Id: I1b0f324a66757278f7c95d25a5192d4234432a6b
Gerrit-Change-Number: 20202
Gerrit-PatchSet: 1
Gerrit-Owner: dexter <[email protected]>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <[email protected]>
Gerrit-Reviewer: laforge <[email protected]>
Gerrit-MessageType: merged