tbf: Make tbf_ms() param const

Change-Id: I041c564b15d17d05ce97ea0085fcd9192a346578
This commit is contained in:
Pau Espin 2021-01-27 13:22:03 +01:00 committed by pespin
parent 54211b1e1b
commit 1e77ca88af
2 changed files with 2 additions and 2 deletions

View File

@ -1165,7 +1165,7 @@ struct llist_head *tbf_bts_list(struct gprs_rlcmac_tbf *tbf)
return &tbf->m_bts_list.list;
}
struct GprsMs *tbf_ms(struct gprs_rlcmac_tbf *tbf)
struct GprsMs *tbf_ms(const struct gprs_rlcmac_tbf *tbf)
{
return tbf->ms();
}

View File

@ -196,7 +196,7 @@ enum gprs_rlcmac_tbf_direction tbf_direction(const struct gprs_rlcmac_tbf *tbf);
void tbf_set_ms(struct gprs_rlcmac_tbf *tbf, struct GprsMs *ms);
struct llist_head *tbf_ms_list(struct gprs_rlcmac_tbf *tbf);
struct llist_head *tbf_bts_list(struct gprs_rlcmac_tbf *tbf);
struct GprsMs *tbf_ms(struct gprs_rlcmac_tbf *tbf);
struct GprsMs *tbf_ms(const struct gprs_rlcmac_tbf *tbf);
bool tbf_timers_pending(struct gprs_rlcmac_tbf *tbf, enum tbf_timers t);
void tbf_free(struct gprs_rlcmac_tbf *tbf);
struct gprs_llc *tbf_llc(struct gprs_rlcmac_tbf *tbf);