bts: constify arg in func bts_ms_store()

Change-Id: I4cc8c4fc075cdd07e689511df8f1c267e5360014
changes/92/23992/2
Pau Espin 2 years ago committed by pespin
parent 292d04d19d
commit 4b7a71f93f
  1. 2
      src/bts.cpp
  2. 2
      src/bts.h

@ -1066,7 +1066,7 @@ GprsMs *bts_alloc_ms(struct gprs_rlcmac_bts* bts, uint8_t ms_class, uint8_t egpr
return ms;
}
struct GprsMsStorage *bts_ms_store(struct gprs_rlcmac_bts *bts)
struct GprsMsStorage *bts_ms_store(const struct gprs_rlcmac_bts *bts)
{
return bts->ms_store;
}

@ -301,7 +301,7 @@ void bts_send_gsmtap_rach(struct gprs_rlcmac_bts *bts,
enum pcu_gsmtap_category categ, uint8_t channel,
const struct rach_ind_params *rip);
struct GprsMsStorage *bts_ms_store(struct gprs_rlcmac_bts *bts);
struct GprsMsStorage *bts_ms_store(const struct gprs_rlcmac_bts *bts);
struct GprsMs *bts_ms_by_tlli(struct gprs_rlcmac_bts *bts, uint32_t tlli, uint32_t old_tlli);

Loading…
Cancel
Save