Skip to content

Commit

Permalink
Remove unnecessary call to mac (ARMmbed#1583)
Browse files Browse the repository at this point in the history
Remove additional call to mac_helper_devicetable_set.
  • Loading branch information
Arto Kinnunen authored Feb 23, 2018
1 parent 09cff0e commit 648ef89
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion source/6LoWPAN/Thread/thread_router_bootstrap.c
Original file line number Diff line number Diff line change
Expand Up @@ -361,7 +361,6 @@ static void thread_router_synch_receive_cb(int8_t interface_id, mle_message_t *m
//Free Response
mle_service_msg_free(messageId);
entry_temp->threadNeighbor = true;
mac_helper_devicetable_set(entry_temp, cur, llFrameCounter, security_headers->KeyIndex);
entry_temp->short_adr = shortAddress;
//when allocating neighbour entry, use MLE Frame counter if present to validate further advertisements from the neighbour
entry_temp->mle_frame_counter = mleFrameCounter;
Expand Down

0 comments on commit 648ef89

Please sign in to comment.