Skip to content

Commit

Permalink
sys/net/link_layer/ieee802154: fix small copy paste bug
Browse files Browse the repository at this point in the history
  • Loading branch information
fabian18 committed Apr 27, 2021
1 parent 7504355 commit 43f1470
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sys/net/link_layer/ieee802154/security.c
Expand Up @@ -208,7 +208,7 @@ static uint8_t _set_aux_hdr(const ieee802154_sec_context_t *ctx,
break;
case IEEE802154_SCF_KEYMODE_HW_INDEX:
memcpy(ahr->key_id, ctx->key_source, 8);
memcpy(ahr->key_id + 4, &ctx->key_index, 1);
memcpy(ahr->key_id + 8, &ctx->key_index, 1);
len += 9;
break;
default:
Expand Down

0 comments on commit 43f1470

Please sign in to comment.