summaryrefslogtreecommitdiffstats
path: root/src/gsm
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <holger@moiji-mobile.com>2014-08-21 14:17:45 +0200
committerHolger Hans Peter Freyther <holger@moiji-mobile.com>2014-08-21 14:19:37 +0200
commit715e94505560236ddba8bfced8d3f775c6363a3b (patch)
tree39e3548ff272d290e8723df097fc213f23a68500 /src/gsm
parentefe0100189a85fabddeb1e0c61dc845d983b7893 (diff)
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 },
Diffstat (limited to 'src/gsm')
-rw-r--r--src/gsm/gsm0808.c2
1 files changed, 1 insertions, 1 deletions
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 },