aboutsummaryrefslogtreecommitdiffstats
path: root/src/common/scheduler_mframe.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/scheduler_mframe.c')
-rw-r--r--src/common/scheduler_mframe.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/common/scheduler_mframe.c b/src/common/scheduler_mframe.c
index b969407c..60b63531 100644
--- a/src/common/scheduler_mframe.c
+++ b/src/common/scheduler_mframe.c
@@ -14,7 +14,7 @@
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
+ * GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
@@ -1000,14 +1000,14 @@ int find_sched_mframe_idx(enum gsm_phys_chan_config pchan, uint8_t tn)
}
/* Determine if given frame number contains SACCH (true) or other (false) burst */
-bool trx_sched_is_sacch_fn(struct gsm_bts_trx_ts *ts, uint32_t fn, bool uplink)
+bool trx_sched_is_sacch_fn(const struct gsm_bts_trx_ts *ts, uint32_t fn, bool uplink)
{
int i;
const struct trx_sched_multiframe *sched;
const struct trx_sched_frame *frame;
enum trx_chan_type ch_type;
- i = find_sched_mframe_idx(ts->pchan, ts->nr);
+ i = find_sched_mframe_idx(ts_pchan(ts), ts->nr);
if (i < 0)
return -EINVAL;
sched = &trx_sched_multiframes[i];