TLV: fix doc copy-paste error

Change-Id: I8aa79cab7505585de00ee2aaae125462108906e8
This commit is contained in:
Max 2018-12-19 19:00:23 +01:00
parent af25c37f90
commit e6f63f22c5
1 changed files with 1 additions and 1 deletions

View File

@ -489,7 +489,7 @@ void tlv_def_patch(struct tlv_definition *dst, const struct tlv_definition *src)
* \param[in] _tp pointer to \ref tlv_parsed.
* \param[in] tag IE tag to return.
* \param[in] min_len Minimum value length in bytes.
* \returns struct tlv_p_entry pointer, or NULL if not present or too short.
* \returns const uint8_t pointer to value, or NULL if not present or too short.
*/
#define TLVP_VAL_MINLEN(_tp, tag, min_len) \
(TLVP_PRES_LEN(_tp, tag, min_len)? (_tp)->lv[tag].val : NULL)