fixeria has uploaded this change for review. ( 
https://gerrit.osmocom.org/c/osmo-bsc/+/32090 )


Change subject: nm_channel_fsm: do not send SET CHAN ATTR before SET BTS ATTR
......................................................................

nm_channel_fsm: do not send SET CHAN ATTR before SET BTS ATTR

Change-Id: Ie2aa7d250688c284fa26b990cfc8ebbd908ee581
Related: OS#5856, OS#5977
---
M src/osmo-bsc/nm_channel_fsm.c
1 file changed, 13 insertions(+), 1 deletion(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-bsc refs/changes/90/32090/1

diff --git a/src/osmo-bsc/nm_channel_fsm.c b/src/osmo-bsc/nm_channel_fsm.c
index 45e455a..d9cfaee 100644
--- a/src/osmo-bsc/nm_channel_fsm.c
+++ b/src/osmo-bsc/nm_channel_fsm.c
@@ -96,7 +96,9 @@
        if (bts_setup_ramp_wait(ts->trx->bts))
                return;

-       if (!ts->mo.set_attr_sent && !ts->mo.set_attr_ack_received) {
+       if (trx->bts->mo.set_attr_sent &&
+           !ts->mo.set_attr_sent &&
+           !ts->mo.set_attr_ack_received) {
                ts->mo.set_attr_sent = true;
                ccomb = abis_nm_chcomb4pchan(ts->pchan_from_config);
                if (abis_nm_set_channel_attr(ts, ccomb) == -EINVAL)

--
To view, visit https://gerrit.osmocom.org/c/osmo-bsc/+/32090
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-bsc
Gerrit-Branch: master
Gerrit-Change-Id: Ie2aa7d250688c284fa26b990cfc8ebbd908ee581
Gerrit-Change-Number: 32090
Gerrit-PatchSet: 1
Gerrit-Owner: fixeria <vyanits...@sysmocom.de>
Gerrit-MessageType: newchange

Reply via email to