mirror of
https://gitea.osmocom.org/cellular-infrastructure/osmo-mgw.git
synced 2025-10-23 08:12:01 +00:00
handover_logic: set correct link to bts for subscriber_connection in case of moving this connection to another bts
In case of successful completion of handover gsm_subscriber_connection could be moved from one bts to another, so connection link to bts should be replaced by link to bts, which owns new_lchan. This bug was detected, because conn->bts->nr is used in call control log messages and wrong number of bts was observed in these messages after handover. Change-Id: Idc7dd412b7580c451e716b73ef7549826c60b0d9
This commit is contained in:
committed by
Neels Hofmeyr
parent
569dc7b6d8
commit
02da674ed4
@@ -282,6 +282,7 @@ static int ho_gsm48_ho_compl(struct gsm_lchan *new_lchan)
|
||||
|
||||
new_lchan->conn->ho_lchan = NULL;
|
||||
new_lchan->conn->lchan = new_lchan;
|
||||
new_lchan->conn->bts = new_lchan->ts->trx->bts;
|
||||
ho->old_lchan->conn = NULL;
|
||||
|
||||
lchan_release(ho->old_lchan, 0, RSL_REL_LOCAL_END);
|
||||
|
Reference in New Issue
Block a user