bts: Use public getter instead of class member

Change-Id: Ia7b37a4c721d7d02c516d8d3a5417d166f1d3bec
This commit is contained in:
Pau Espin 2021-08-31 14:56:17 +02:00
parent 767144f7b7
commit 0f88bcdebf
1 changed files with 1 additions and 1 deletions

View File

@ -989,7 +989,7 @@ int bts_rcv_ptcch_rach(struct gprs_rlcmac_bts *bts, const struct rach_ind_params
/* Make sure PDCH time-slot is enabled */
pdch = &bts->trx[rip->trx_nr].pdch[rip->ts_nr];
if (!pdch->m_is_enabled) {
if (!pdch->is_enabled()) {
LOGP(DRLCMAC, LOGL_NOTICE, "(TRX=%u TS=%u RFN=%u) Rx RACH.ind (PTCCH/U) "
"for inactive PDCH\n", rip->trx_nr, rip->ts_nr, rip->rfn);
return -EAGAIN;