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
changes/13/27613/1
Pau Espin 8 months ago
parent 8d03c50024
commit 2d92e3937f
  1. 3
      src/pcu_l1_if.cpp

@ -731,7 +731,8 @@ 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++)
bts->trx[trx_nr].pdch[ts_nr].disable();
if (bts->trx[trx_nr].pdch[ts_nr].is_enabled())
bts->trx[trx_nr].pdch[ts_nr].disable();
}
gprs_bssgp_destroy(bts);
exit(0);

Loading…
Cancel
Save