summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPhilipp Maier <pmaier@sysmocom.de>2018-11-02 11:46:42 +0100
committerHarald Welte <laforge@gnumonks.org>2018-11-02 22:06:34 +0000
commita75e349b289be089ef3871b8299104eedfdfdfa6 (patch)
treea2007a4d4e860f932008fe1a753c5200b320657b /src
parent2b4a67a412ace101f2e3fe893f8b2724c6fd5062 (diff)
gsm48: correct apidoc for gsm48_generate_mid()
The API documentation lacks the the description for the last parameter, lets add a description for it. Change-Id: Ibcd25d3a7ddd7075eb15daff6dba42236d14d945
Diffstat (limited to 'src')
-rw-r--r--src/gsm/gsm48.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gsm/gsm48.c b/src/gsm/gsm48.c
index fc3b9734..ae9a1cf6 100644
--- a/src/gsm/gsm48.c
+++ b/src/gsm/gsm48.c
@@ -604,6 +604,7 @@ int gsm48_generate_mid_from_tmsi(uint8_t *buf, uint32_t tmsi)
/*! Generate TS 24.008 ยง10.5.1.4 Mobile ID
* \param[out] buf Caller-provided output buffer
* \param[in] id Identity to be encoded
+ * \param[in] mi_type Type of identity (e.g. GSM_MI_TYPE_TMSI)
* \returns number of bytes used in \a buf */
uint8_t gsm48_generate_mid(uint8_t *buf, const char *id, uint8_t mi_type)
{