diff options
author | Vadim Yanitskiy <vyanitskiy@sysmocom.de> | 2022-03-13 17:49:54 +0300 |
---|---|---|
committer | Vadim Yanitskiy <vyanitskiy@sysmocom.de> | 2022-03-13 17:50:19 +0300 |
commit | 798a71eb300dfeb4c76e8c3d2973173ae81e1602 (patch) | |
tree | 3b293f4e1d176f22062f58573cfda09f6dd74d23 /include | |
parent | a0033f5da77f46244e6c7f9dae6dd6526b7091f9 (diff) |
gsm48_make_ho_cmd(): make 'struct gsm_lchan' pointer const
Change-Id: I731179bf7f5d711ca114e36af661faccf0caa19f
Diffstat (limited to 'include')
-rw-r--r-- | include/osmocom/bsc/gsm_04_08_rr.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/osmocom/bsc/gsm_04_08_rr.h b/include/osmocom/bsc/gsm_04_08_rr.h index d4617ae69..613787db4 100644 --- a/include/osmocom/bsc/gsm_04_08_rr.h +++ b/include/osmocom/bsc/gsm_04_08_rr.h @@ -24,7 +24,8 @@ int gsm48_send_rr_ciph_mode(struct gsm_lchan *lchan, int want_imeisv); int gsm48_multirate_config(struct msgb *msg, const struct gsm48_multi_rate_conf *mr_conf, const struct amr_mode *modes, unsigned int num_modes); -struct msgb *gsm48_make_ho_cmd(struct gsm_lchan *new_lchan, uint8_t power_command, uint8_t ho_ref); +struct msgb *gsm48_make_ho_cmd(const struct gsm_lchan *new_lchan, + uint8_t power_command, uint8_t ho_ref); int gsm48_send_rr_ass_cmd(struct gsm_lchan *dest_lchan, struct gsm_lchan *lchan, uint8_t power_command); int gsm48_send_rr_app_info(struct gsm_lchan *lchan, uint8_t apdu_id, uint8_t apdu_flags, const uint8_t *apdu_data, ssize_t apdu_data_len); |