test(uhci): fix false-pass bug in UHCI receive test

reset RX buffer state between UHCI test transactions
This commit is contained in:
Hu Rui
2026-04-15 18:05:32 +08:00
parent c4dd0c2cbd
commit 6f5a2f73a2
@@ -158,6 +158,8 @@ static void uhci_receive_test(void *arg)
}
ctx->receive_size = 0;
ctx->p_receive_data = receive_data;
memset(receive_data, 0, DATA_LENGTH);
}
vQueueDelete(ctx->uhci_queue);