From: Holger Hans Peter Freyther Date: Fri, 23 Jul 2010 10:35:59 +0000 (+0800) Subject: gsm0808: Why should there be a lchan in the parameter... X-Git-Url: http://git.rot13.org/?a=commitdiff_plain;h=b60a4b3b97b0600ce104c0181e1f054e7c15e371;p=osmocom-bb.git gsm0808: Why should there be a lchan in the parameter... --- diff --git a/include/osmocore/gsm0808.h b/include/osmocore/gsm0808.h index 82f17ca..2d609c9 100644 --- a/include/osmocore/gsm0808.h +++ b/include/osmocore/gsm0808.h @@ -31,7 +31,7 @@ struct msgb *gsm0808_create_cipher_complete(struct msgb *layer3, uint8_t alg_id) struct msgb *gsm0808_create_cipher_reject(uint8_t cause); struct msgb *gsm0808_create_classmark_update(const uint8_t *classmark, uint8_t length); struct msgb *gsm0808_create_sapi_reject(uint8_t link_id); -struct msgb *gsm0808_create_assignment_completed(struct gsm_lchan *lchan, uint8_t rr_cause, +struct msgb *gsm0808_create_assignment_completed(uint8_t rr_cause, uint8_t chosen_channel, uint8_t encr_alg_id, uint8_t speech_mode); struct msgb *gsm0808_create_assignment_failure(uint8_t cause, uint8_t *rr_cause); diff --git a/src/gsm0808.c b/src/gsm0808.c index 51c10ca..c8dc664 100644 --- a/src/gsm0808.c +++ b/src/gsm0808.c @@ -192,7 +192,7 @@ struct msgb *gsm0808_create_sapi_reject(uint8_t link_id) return msg; } -struct msgb *gsm0808_create_assignment_completed(struct gsm_lchan *lchan, uint8_t rr_cause, +struct msgb *gsm0808_create_assignment_completed(uint8_t rr_cause, uint8_t chosen_channel, uint8_t encr_alg_id, uint8_t speech_mode) {