path: root/src/gsm
diff options
authorNeels Hofmeyr <neels@hofmeyr.de>2019-02-26 02:59:37 +0100
committerNeels Hofmeyr <nhofmeyr@sysmocom.de>2019-03-05 23:49:02 +0000
commit8aa691f30b5f6d77ae05e590e5d3426550ee4452 (patch)
tree9ea7a26499b906bf32a3e7006d434ad001b8cd6a /src/gsm
parenta47859025010de21faf9b48d929aec1f080f844d (diff)
api doc: tweak gsm0808_cell_id_matches_list() doc
Diffstat (limited to 'src/gsm')
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gsm/gsm0808_utils.c b/src/gsm/gsm0808_utils.c
index 606899e8..54775981 100644
--- a/src/gsm/gsm0808_utils.c
+++ b/src/gsm/gsm0808_utils.c
@@ -1559,7 +1559,8 @@ bool gsm0808_cell_ids_match(const struct gsm0808_cell_id *id1, const struct gsm0
* \param[in] list Cell Identifier list to search in.
* \param[in] match_nr Ignore this many matches.
* \param[in] exact_match If true, consider as match only if the CELL_IDENT types and all values are identical.
- * \returns -1 if no match is found, list index if a match is found.
+ * \returns -1 if no match is found, list index if a match is found (i.e. rc == 0 means a match was found on the first
+ * entry).
int gsm0808_cell_id_matches_list(const struct gsm0808_cell_id *id, const struct gsm0808_cell_id_list2 *list,
unsigned int match_nr, bool exact_match)