From 715e94505560236ddba8bfced8d3f775c6363a3b Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Thu, 21 Aug 2014 14:17:45 +0200 Subject: gsm0808: Fix copy and paste pointed out by clang The element following the identifier list was the GSM0808_IE_LSA_INFORMATION. It is a TLV type as well and the issue got introduced in 92107dfd3b99ab0dbb0f4770286454ad94a36de2. Fixes: gsm0808.c:316:40: warning: initializer overrides prior initialization of this subobject [-Winitializer-overrides] [GSM0808_IE_LSA_IDENTIFIER_LIST] = { TLV_TYPE_TLV }, ^~~~~~~~~~~~ gsm0808.c:315:40: note: previous initialization is here [GSM0808_IE_LSA_IDENTIFIER_LIST] = { TLV_TYPE_TLV }, --- src/gsm/gsm0808.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gsm') diff --git a/src/gsm/gsm0808.c b/src/gsm/gsm0808.c index d055da18..29cca826 100644 --- a/src/gsm/gsm0808.c +++ b/src/gsm/gsm0808.c @@ -313,7 +313,7 @@ static const struct tlv_definition bss_att_tlvdef = { [GSM0808_IE_TOTAL_RESOURCE_ACCESSIBLE] = { TLV_TYPE_FIXED, 4 }, [GSM0808_IE_LSA_IDENTIFIER] = { TLV_TYPE_TLV }, [GSM0808_IE_LSA_IDENTIFIER_LIST] = { TLV_TYPE_TLV }, - [GSM0808_IE_LSA_IDENTIFIER_LIST] = { TLV_TYPE_TLV }, + [GSM0808_IE_LSA_INFORMATION] = { TLV_TYPE_TLV }, [GSM0808_IE_CELL_IDENTIFIER] = { TLV_TYPE_TLV }, [GSM0808_IE_PRIORITY] = { TLV_TYPE_TLV }, [GSM0808_IE_CLASSMARK_INFORMATION_T2] = { TLV_TYPE_TLV }, -- cgit v1.2.3