[PATCH] openbsc[master]: dyn PDCH: fix: clear PDCH flags on TS reconnect (e.g. BTS re...

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/.

Neels Hofmeyr gerrit-no-reply at lists.osmocom.org
Thu Jun 16 02:30:00 UTC 2016


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

dyn PDCH: fix: clear PDCH flags on TS reconnect (e.g. BTS re-connect)

Change-Id: I89a0ef1794f343fdd06a62237f5732e73f4d2704
---
M openbsc/src/libbsc/bsc_dyn_pdch.c
1 file changed, 2 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.osmocom.org:29418/openbsc refs/changes/81/281/1

diff --git a/openbsc/src/libbsc/bsc_dyn_pdch.c b/openbsc/src/libbsc/bsc_dyn_pdch.c
index 717880b..6e5fe83 100644
--- a/openbsc/src/libbsc/bsc_dyn_pdch.c
+++ b/openbsc/src/libbsc/bsc_dyn_pdch.c
@@ -27,6 +27,8 @@
 {
 	int rc;
 
+	ts->flags &= ~(TS_F_PDCH_PENDING_MASK | TS_F_PDCH_ACTIVE);
+
 	if (ts->pchan == GSM_PCHAN_TCH_F_PDCH) {
 		LOGP(DRSL, LOGL_DEBUG, "trying to PDCH ACT on"
 		     " BTS %u TRX %u TS %u\n",

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

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



More information about the gerrit-log mailing list