trxcon: make l1sched_start_ciphering() accept const *key

Change-Id: I042903d779b6fbae68951a94788a458bf5226046
This commit is contained in:
Vadim Yanitskiy 2022-07-27 06:20:28 +07:00
parent 15247989f5
commit 57d0aa72e6
2 changed files with 2 additions and 2 deletions

View File

@ -397,7 +397,7 @@ int l1sched_reset_ts(struct l1sched_state *sched, int tn);
int l1sched_configure_ts(struct l1sched_state *sched, int tn,
enum gsm_phys_chan_config config);
int l1sched_start_ciphering(struct l1sched_ts *ts, uint8_t algo,
uint8_t *key, uint8_t key_len);
const uint8_t *key, uint8_t key_len);
/* Logical channel management functions */
enum gsm_phys_chan_config l1sched_chan_nr2pchan_config(uint8_t chan_nr);

View File

@ -368,7 +368,7 @@ int l1sched_reset_ts(struct l1sched_state *sched, int tn)
}
int l1sched_start_ciphering(struct l1sched_ts *ts, uint8_t algo,
uint8_t *key, uint8_t key_len)
const uint8_t *key, uint8_t key_len)
{
struct l1sched_lchan_state *lchan;