Skip to content

Commit b0c2443

Browse files
debdeep-armArto Kinnunen
authored andcommitted
Typo fixed.
1 parent 72c28ee commit b0c2443

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

features/nanostack/mbed-mesh-api/mbed-mesh-api/WisunInterface.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ typedef struct ws_rpl_info {
3030
/** RPL version number */
3131
uint8_t version;
3232
/** RPL DODAG node current Rank */
33-
uint16_t curent_rank;
33+
uint16_t current_rank;
3434
/** RPL Primary Parent Rank */
3535
uint16_t primary_parent_rank;
3636
} ws_rpl_info_t;

features/nanostack/mbed-mesh-api/source/WisunInterface.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -586,7 +586,7 @@ mesh_error_t WisunInterface::info_get(ws_rpl_info_t *info_ptr)
586586

587587
info_ptr->instance_id = dodag_ptr.instance_id;
588588
info_ptr->version = dodag_ptr.version_num;
589-
info_ptr->curent_rank = dodag_ptr.curent_rank;
589+
info_ptr->current_rank = dodag_ptr.curent_rank;
590590
info_ptr->primary_parent_rank = dodag_ptr.primary_parent_rank;
591591
memcpy(info_ptr->rpl_dodag_id, dodag_ptr.dodag_id, 16);
592592

0 commit comments

Comments
 (0)