summaryrefslogtreecommitdiffstats
path: root/include/osmocom/gsm
diff options
context:
space:
mode:
authorPhilipp Maier <pmaier@sysmocom.de>2018-10-30 09:36:49 +0100
committerPhilipp Maier <pmaier@sysmocom.de>2018-10-30 09:36:49 +0100
commit1a146c89e2a27dee11326593697790823141488e (patch)
treeadcec4be2e2c0d13a4917bd3b99c9b8c143de7f7 /include/osmocom/gsm
parentb254daf64f110ad6912a1303b3724cde3e3dfe47 (diff)
gsm0808: cosmetic: rename parameter "reason" to "cause"
The function that generates the clear command takes a parameter "reason", which is the cause code. Lets give it the name "cause" to have a coherent naming scheme that matches the other functions and the 3gpp specs. Change-Id: I7b6c15e8fa8db13deef5041095944ca1c58fb99f
Diffstat (limited to 'include/osmocom/gsm')
-rw-r--r--include/osmocom/gsm/gsm0808.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/osmocom/gsm/gsm0808.h b/include/osmocom/gsm/gsm0808.h
index f4fc7c4c..cdbb2734 100644
--- a/include/osmocom/gsm/gsm0808.h
+++ b/include/osmocom/gsm/gsm0808.h
@@ -45,7 +45,7 @@ struct msgb *gsm0808_create_layer3_2(const struct msgb *msg_l3, const struct osm
const struct gsm0808_speech_codec_list *scl);
struct msgb *gsm0808_create_reset(void);
struct msgb *gsm0808_create_reset_ack(void);
-struct msgb *gsm0808_create_clear_command(uint8_t reason);
+struct msgb *gsm0808_create_clear_command(uint8_t cause);
struct msgb *gsm0808_create_clear_complete(void);
struct msgb *gsm0808_create_cipher(const struct gsm0808_encrypt_info *ei,
const uint8_t *cipher_response_mode);