Skip to content

Commit 0a6f89a

Browse files
committed
updating packet auth params
1 parent 0dda46c commit 0a6f89a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/tasks/command/command_task.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ void command_task_dispatch(slate_t *slate)
4242
// Process one packet per dispatch cycle
4343
if (queue_try_remove(&slate->rx_queue, &packet))
4444
{
45-
if (!is_packet_authenticated(&packet))
45+
if (!is_packet_authenticated(&packet, slate->reboot_counter))
4646
{
4747
LOG_ERROR("Packet authentication failed. Dropping packet.");
4848
return;

0 commit comments

Comments
 (0)