commit | 9c2512a638368f5b74c275c38d404414cf2d8b02 | [log] [tgz] |
---|---|---|
author | Pau Espin Pedrol <pespin@sysmocom.de> | Fri Apr 01 18:27:04 2022 +0200 |
committer | pespin <pespin@sysmocom.de> | Tue Apr 05 10:43:39 2022 +0000 |
tree | 097753fd08f30e83b61bfeb732e0aab88a1a3727 | |
parent | 5c598c76cd73012670d5613bb79e389790955f63 [diff] [blame] |
pdch is_enabled: Use API getter instead of accessing field directly Change-Id: I389f42ef2e95d28643ec51771e46d083d4e20057
diff --git a/src/pcu_l1_if.cpp b/src/pcu_l1_if.cpp index d0698d9..221a1f7 100644 --- a/src/pcu_l1_if.cpp +++ b/src/pcu_l1_if.cpp
@@ -540,7 +540,7 @@ /* 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