Skip to content

Commit 1728ae1

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

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

source/6LoWPAN/IPHC_Decode/lowpan_context.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131

3232
#define TRACE_GROUP "lCon"
3333

34-
lowpan_context_t *lowpan_contex_get_by_id(const lowpan_context_list_t *list, uint8_t id)
34+
lowpan_context_t *lowpan_context_get_by_id(const lowpan_context_list_t *list, uint8_t id)
3535
{
3636
id &= LOWPAN_CONTEXT_CID_MASK;
3737
/* Check to see we already have info for this context */
@@ -65,7 +65,7 @@ int_fast8_t lowpan_context_update(lowpan_context_list_t *list, uint8_t cid_flags
6565

6666
/* Check to see we already have info for this context */
6767

68-
ctx = lowpan_contex_get_by_id(list, cid);
68+
ctx = lowpan_context_get_by_id(list, cid);
6969
if (ctx) {
7070
//Remove from the list - it will be reinserted below, sorted by its
7171
//new context length. (Don't need "safe" foreach, as we break

0 commit comments

Comments
 (0)