Fix function spelling mistake in iphc_decompress.c

lowpan_contex_get_by_id -> lowpan_context_get_by_id
pull/12537/head
David Lin 2020-02-29 11:56:43 +08:00 committed by GitHub
parent c2e649a4c3
commit d76df4c3d0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -249,7 +249,7 @@ static bool decompress_mc_addr(const lowpan_context_list_t *context_list, uint8_
*in_ptr = in;
return true;
case HC_48BIT_CONTEXT_MULTICAST: {
lowpan_context_t *ctx = lowpan_contex_get_by_id(context_list, context);
lowpan_context_t *ctx = lowpan_context_get_by_id(context_list, context);
if (!ctx) {
return false;
}
@ -312,7 +312,7 @@ static bool decompress_addr(const lowpan_context_list_t *context_list, uint8_t *
}
if (mode & HC_DSTADR_COMP) {
lowpan_context_t *ctx = lowpan_contex_get_by_id(context_list, context);
lowpan_context_t *ctx = lowpan_context_get_by_id(context_list, context);
if (!ctx) {
return false;
}