laforge has submitted this change. (
https://gerrit.osmocom.org/c/osmo-bts/+/41791?usp=email )
Change subject: ta_control: Reset state during lchan deactivation
......................................................................
ta_control: Reset state during lchan deactivation
Otherwise next time the lchan is activated, its ta_ctrl.skip_block_num
will be different based on previous lchan state.
Change-Id: I2aacbbc5b2db46c17b1266b5b5e84d8286d0cf83
---
M src/common/lchan.c
1 file changed, 2 insertions(+), 0 deletions(-)
Approvals:
Jenkins Builder: Verified
fixeria: Looks good to me, but someone else must approve
laforge: Looks good to me, approved
diff --git a/src/common/lchan.c b/src/common/lchan.c
index 0afc294..7123cee 100644
--- a/src/common/lchan.c
+++ b/src/common/lchan.c
@@ -34,6 +34,7 @@
#include <osmo-bts/l1sap.h>
#include <osmo-bts/bts_model.h>
#include <osmo-bts/asci.h>
+#include <osmo-bts/ta_control.h>
#include <errno.h>
static const struct value_string lchan_s_names[] = {
@@ -325,6 +326,7 @@
lchan->pending_rel_ind_msg = NULL;
msgb_free(lchan->pending_chan_activ);
lchan->pending_chan_activ = NULL;
+ lchan_ms_ta_ctrl_reset(lchan);
/* fall through */
default:
if (lchan->early_rr_ia) {
--
To view, visit https://gerrit.osmocom.org/c/osmo-bts/+/41791?usp=email
To unsubscribe, or for help writing mail filters, visit
https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: merged
Gerrit-Project: osmo-bts
Gerrit-Branch: master
Gerrit-Change-Id: I2aacbbc5b2db46c17b1266b5b5e84d8286d0cf83
Gerrit-Change-Number: 41791
Gerrit-PatchSet: 2
Gerrit-Owner: pespin <[email protected]>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <[email protected]>
Gerrit-Reviewer: laforge <[email protected]>