scheduler: trx_sched_is_sacch_fn(): make ts pointer const
Change-Id: I48a1a549d7c1553bccaa01cdc818873a4c6cdf0a
This commit is contained in:
parent
8aab8d484b
commit
cf09b0cb50
|
@ -231,7 +231,7 @@ struct trx_sched_multiframe {
|
|||
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);
|
||||
extern const struct trx_sched_multiframe trx_sched_multiframes[];
|
||||
|
||||
#define TRX_BI_F_NOPE_IND (1 << 0)
|
||||
|
|
|
@ -1000,7 +1000,7 @@ 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;
|
||||
|
|
Loading…
Reference in New Issue