diff options
author | Pau Espin Pedrol <pespin@sysmocom.de> | 2021-08-31 14:56:17 +0200 |
---|---|---|
committer | Pau Espin Pedrol <pespin@sysmocom.de> | 2021-08-31 14:56:17 +0200 |
commit | 0f88bcdebf84365f375f7f4ae178c4e20d5e1981 (patch) | |
tree | 68c7d4a4f95e2ce2a88b872d7b9f79953e244914 | |
parent | 767144f7b7fcc6dc7a0d06544524186605c0eb27 (diff) |
bts: Use public getter instead of class member
Change-Id: Ia7b37a4c721d7d02c516d8d3a5417d166f1d3bec
-rw-r--r-- | src/bts.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bts.cpp b/src/bts.cpp index 62870db5..8ccbee98 100644 --- a/src/bts.cpp +++ b/src/bts.cpp @@ -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; |