aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNeels Hofmeyr <neels@hofmeyr.de>2018-07-11 19:56:03 +0200
committerNeels Hofmeyr <neels@hofmeyr.de>2018-07-16 16:24:26 +0200
commit07fe2fdfb105b1ebe41218dd7aef7ab5145894b4 (patch)
tree4236b61aca3134ead030ea0e51d0d22baf1f8b04
parentfbb1ab909fced736141c250669eda8f23b117583 (diff)
cosmetic: assignment_fsm: update ID after pchan switch
-rw-r--r--src/osmo-bsc/assignment_fsm.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/osmo-bsc/assignment_fsm.c b/src/osmo-bsc/assignment_fsm.c
index a249746c5..3f7e2e2f9 100644
--- a/src/osmo-bsc/assignment_fsm.c
+++ b/src/osmo-bsc/assignment_fsm.c
@@ -393,7 +393,11 @@ static void assignment_fsm_wait_lchan(struct osmo_fsm_inst *fi, uint32_t event,
if (data != conn->assignment.new_lchan)
return;
+ /* The TS may have changed its pchan_is */
+ assignment_fsm_update_id(conn);
+
assignment_fsm_state_chg(ASSIGNMENT_ST_WAIT_RR_ASS_COMPLETE);
+
return;
default: