@@ -201,7 +201,7 @@ int8_t arm_nwk_6lowpan_border_router_context_update(int8_t interface_id, uint8_t
201
201
if (cur -> border_router_setup -> nd_nwk ) {
202
202
nd_router_setup_t * routerSetup = cur -> border_router_setup -> nd_border_router_configure ;
203
203
204
- if (!lowpan_contex_get_by_id (& routerSetup -> context_list , (c_id_flags & LOWPAN_CONTEXT_CID_MASK ))) {
204
+ if (!lowpan_context_get_by_id (& routerSetup -> context_list , (c_id_flags & LOWPAN_CONTEXT_CID_MASK ))) {
205
205
if (ns_list_count (& routerSetup -> context_list ) >= ND_MAX_PROXY_CONTEXT_COUNT ) {
206
206
return -1 ;
207
207
}
@@ -245,7 +245,7 @@ int8_t arm_nwk_6lowpan_border_router_nd_context_load(int8_t interface_id, uint8_
245
245
contex_data += 2 ;
246
246
//Now Pointer Indicate to prefix
247
247
//Check first is current ID at list
248
- if (!lowpan_contex_get_by_id (& nd_router_setup -> context_list , (c_id & LOWPAN_CONTEXT_CID_MASK ))) {
248
+ if (!lowpan_context_get_by_id (& nd_router_setup -> context_list , (c_id & LOWPAN_CONTEXT_CID_MASK ))) {
249
249
if (ns_list_count (& nd_router_setup -> context_list ) >= ND_MAX_PROXY_CONTEXT_COUNT ) {
250
250
tr_debug ("All Contexts are allocated" );
251
251
return -1 ;
@@ -305,7 +305,7 @@ int8_t arm_nwk_6lowpan_border_router_context_remove_by_id(int8_t interface_id, u
305
305
306
306
nd_router_configuration = cur_interface -> border_router_setup -> nd_border_router_configure ;
307
307
308
- entry = lowpan_contex_get_by_id (& nd_router_configuration -> context_list , c_id );
308
+ entry = lowpan_context_get_by_id (& nd_router_configuration -> context_list , c_id );
309
309
if (entry ) {
310
310
ns_list_remove (& nd_router_configuration -> context_list , entry );
311
311
ns_dyn_mem_free (entry );
@@ -333,7 +333,7 @@ int8_t arm_nwk_6lowpan_border_router_context_parameter_update(int8_t interface_i
333
333
334
334
nd_router_configuration = cur_interface -> border_router_setup -> nd_border_router_configure ;
335
335
336
- entry = lowpan_contex_get_by_id (& nd_router_configuration -> context_list , c_id );
336
+ entry = lowpan_context_get_by_id (& nd_router_configuration -> context_list , c_id );
337
337
if (entry ) {
338
338
uint8_t cid_flag = entry -> cid ;
339
339
entry -> compression = compress_mode ;
0 commit comments