From 09ef27ae04a11e758de81939ff479445d38e0b6d Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Sun, 20 Oct 2013 16:37:05 +0200 Subject: pdch: Simplify the reset code, rename variables to XYZ_no Simplify the reset code now that the PDCH can know where it is located. Rename the variables in the sba to trx_no and ts_no as it stores the number and not the actual thing. --- src/pcu_l1_if.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/pcu_l1_if.cpp') diff --git a/src/pcu_l1_if.cpp b/src/pcu_l1_if.cpp index ab9c134b..53303d9a 100644 --- a/src/pcu_l1_if.cpp +++ b/src/pcu_l1_if.cpp @@ -321,7 +321,7 @@ bssgp_failed: for (trx = 0; trx < 8; trx++) { bts->trx[trx].arfcn = info_ind->trx[trx].arfcn; for (ts = 0; ts < 8; ts++) - bts->trx[trx].pdch[ts].free_resources(bts->bts, trx, ts); + bts->trx[trx].pdch[ts].free_resources(); } gprs_bssgp_destroy_or_exit(); return 0; @@ -456,7 +456,7 @@ bssgp_failed: } else { if (pdch->is_enabled()) { pcu_tx_act_req(trx, ts, 0); - pdch->free_resources(bts->bts, trx, ts); + pdch->free_resources(); pdch->disable(); } } -- cgit v1.2.3