pdch is_enabled: Use API getter instead of accessing field directly
Change-Id: I389f42ef2e95d28643ec51771e46d083d4e20057changes/37/27637/2
parent
5c598c76cd
commit
9c2512a638
|
@ -782,7 +782,7 @@ static unsigned count_pdch(const struct gprs_rlcmac_bts *bts)
|
|||
for (ts_no = 0; ts_no < ARRAY_SIZE(trx->pdch); ++ts_no) {
|
||||
const struct gprs_rlcmac_pdch *pdch = &trx->pdch[ts_no];
|
||||
|
||||
if (pdch->m_is_enabled)
|
||||
if (pdch_is_enabled(pdch))
|
||||
num_pdch += 1;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -540,7 +540,7 @@ int pcu_rx_rts_req_ptcch(struct gprs_rlcmac_bts *bts, uint8_t trx, uint8_t ts,
|
|||
|
||||
/* Make sure PDCH time-slot is enabled */
|
||||
pdch = &bts->trx[trx].pdch[ts];
|
||||
if (!pdch->m_is_enabled)
|
||||
if (!pdch_is_enabled(pdch))
|
||||
return -EAGAIN;
|
||||
|
||||
/* If there's no TBF attached to this PDCH, we can skip Tx of PTCCH
|
||||
|
|
Loading…
Reference in New Issue