Skip to content

Commit 89830ec

Browse files
DavidLin1577Arto Kinnunen
authored andcommitted
Fix function spelling mistake in iphc_decompress.c
lowpan_contex_get_by_id -> lowpan_context_get_by_id
1 parent 1728ae1 commit 89830ec

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

source/6LoWPAN/IPHC_Decode/iphc_decompress.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@ static bool decompress_mc_addr(const lowpan_context_list_t *context_list, uint8_
249249
*in_ptr = in;
250250
return true;
251251
case HC_48BIT_CONTEXT_MULTICAST: {
252-
lowpan_context_t *ctx = lowpan_contex_get_by_id(context_list, context);
252+
lowpan_context_t *ctx = lowpan_context_get_by_id(context_list, context);
253253
if (!ctx) {
254254
return false;
255255
}
@@ -312,7 +312,7 @@ static bool decompress_addr(const lowpan_context_list_t *context_list, uint8_t *
312312
}
313313

314314
if (mode & HC_DSTADR_COMP) {
315-
lowpan_context_t *ctx = lowpan_contex_get_by_id(context_list, context);
315+
lowpan_context_t *ctx = lowpan_context_get_by_id(context_list, context);
316316
if (!ctx) {
317317
return false;
318318
}

0 commit comments

Comments
 (0)