fixeria has uploaded this change for review. ( 
https://gerrit.osmocom.org/c/osmocom-bb/+/28807 )


Change subject: trxcon: make l1sched_start_ciphering() accept const *key
......................................................................

trxcon: make l1sched_start_ciphering() accept const *key

Change-Id: I042903d779b6fbae68951a94788a458bf5226046
---
M src/host/trxcon/include/osmocom/bb/l1sched/l1sched.h
M src/host/trxcon/src/sched_trx.c
2 files changed, 2 insertions(+), 2 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/osmocom-bb refs/changes/07/28807/1

diff --git a/src/host/trxcon/include/osmocom/bb/l1sched/l1sched.h 
b/src/host/trxcon/include/osmocom/bb/l1sched/l1sched.h
index d2cc2eb..2c48eae 100644
--- a/src/host/trxcon/include/osmocom/bb/l1sched/l1sched.h
+++ b/src/host/trxcon/include/osmocom/bb/l1sched/l1sched.h
@@ -397,7 +397,7 @@
 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);
diff --git a/src/host/trxcon/src/sched_trx.c b/src/host/trxcon/src/sched_trx.c
index 556fe6a..10a4c5f 100644
--- a/src/host/trxcon/src/sched_trx.c
+++ b/src/host/trxcon/src/sched_trx.c
@@ -368,7 +368,7 @@
 }

 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;


--
To view, visit https://gerrit.osmocom.org/c/osmocom-bb/+/28807
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings

Gerrit-Project: osmocom-bb
Gerrit-Branch: master
Gerrit-Change-Id: I042903d779b6fbae68951a94788a458bf5226046
Gerrit-Change-Number: 28807
Gerrit-PatchSet: 1
Gerrit-Owner: fixeria <[email protected]>
Gerrit-MessageType: newchange

Reply via email to