From ac9e2d8aa52cbc4198cd94ab9d9c92c3317a979f Mon Sep 17 00:00:00 2001 From: Vadim Yanitskiy Date: Sun, 14 May 2017 20:52:46 +0300 Subject: gsm/tlv.h: fix copy-paste error Change-Id: Id52ddd8358fd4af1ecc71142deb09f1e237021f3 --- include/osmocom/gsm/tlv.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/osmocom/gsm/tlv.h b/include/osmocom/gsm/tlv.h index 8caddae8..4a9bd272 100644 --- a/include/osmocom/gsm/tlv.h +++ b/include/osmocom/gsm/tlv.h @@ -68,9 +68,9 @@ static inline uint16_t VTVLV_GAN_GROSS_LEN(uint16_t tag, uint16_t len) uint16_t ret; if (len <= TVLV_MAX_ONEBYTE) - return TLV_GROSS_LEN(len); + ret = TLV_GROSS_LEN(len); else - return TL16V_GROSS_LEN(len); + ret = TL16V_GROSS_LEN(len); if (tag > TVLV_MAX_ONEBYTE) ret += 1; -- cgit v1.2.3