[PATCH] openbsc[master]: abis_om2000: for TS conf of dyn TS, always send TCH/F as cha...

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

dexter gerrit-no-reply at lists.osmocom.org
Wed Nov 9 14:17:49 UTC 2016


Review at  https://gerrit.osmocom.org/1218

abis_om2000: for TS conf of dyn TS, always send TCH/F as chan comb

Change-Id: If0693f7c5c85977b0e4acbc701ee5d635434d0d1
---
M openbsc/src/libbsc/abis_om2000.c
1 file changed, 1 insertion(+), 5 deletions(-)


  git pull ssh://gerrit.osmocom.org:29418/openbsc refs/changes/18/1218/1

diff --git a/openbsc/src/libbsc/abis_om2000.c b/openbsc/src/libbsc/abis_om2000.c
index 1ab77b1..0890a15 100644
--- a/openbsc/src/libbsc/abis_om2000.c
+++ b/openbsc/src/libbsc/abis_om2000.c
@@ -1264,12 +1264,8 @@
 {
 	switch (ts->pchan) {
 	case GSM_PCHAN_TCH_F_PDCH:
-		if (ts->flags & TS_F_PDCH_ACTIVE)
-			return pchan2comb(GSM_PCHAN_PDCH);
-		else
-			return pchan2comb(GSM_PCHAN_TCH_F);
 	case GSM_PCHAN_TCH_F_TCH_H_PDCH:
-		return pchan2comb(ts->dyn.pchan_is);
+		return pchan2comb(GSM_PCHAN_TCH_F);
 	default:
 		return pchan2comb(ts->pchan);
 	}

-- 
To view, visit https://gerrit.osmocom.org/1218
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: If0693f7c5c85977b0e4acbc701ee5d635434d0d1
Gerrit-PatchSet: 1
Gerrit-Project: openbsc
Gerrit-Branch: master
Gerrit-Owner: dexter <pmaier at sysmocom.de>
Gerrit-Reviewer: Neels Hofmeyr <nhofmeyr at sysmocom.de>



More information about the gerrit-log mailing list