Fix assert hit if connecting to SGSN fails

"""
DLBSSGP ERROR gprs_bssgp_pcu.c:1278 Failed to connect!
DL1IF ERROR pcu_l1_if.cpp:827 No NSVC available to connect to the SGSN!
DRLCMAC INFO pdch.cpp:185 PDCH(bts=0,trx=0,ts=0) PDCH state: disabled => disabled
Assert failed m_is_enabled == 1 pdch.cpp:186
"""

Change-Id: I36dc64fa807091bf2b565417c1185c4cb399932b
This commit is contained in:
Pau Espin 2022-03-30 22:09:06 +02:00
parent 8d03c50024
commit 2d92e3937f
1 changed files with 2 additions and 1 deletions

View File

@ -731,6 +731,7 @@ bssgp_failed:
for (trx_nr = 0; trx_nr < ARRAY_SIZE(bts->trx); trx_nr++) {
bts->trx[trx_nr].arfcn = info_ind->trx[trx_nr].arfcn;
for (ts_nr = 0; ts_nr < ARRAY_SIZE(bts->trx[0].pdch); ts_nr++)
if (bts->trx[trx_nr].pdch[ts_nr].is_enabled())
bts->trx[trx_nr].pdch[ts_nr].disable();
}
gprs_bssgp_destroy(bts);