bugfix for virt channel: clear invalid state #827

Merged
muellerr merged 7 commits from virt-channel-bugfix into main 2023-11-29 15:13:08 +01:00
Showing only changes of commit ef948af5f3 - Show all commits

View File

@ -84,6 +84,9 @@ ReturnValue_t PapbVcInterface::advanceWrite(size_t& writtenSize) {
writtenSize++;
}
if (not pollReadyForOctet(MAX_BUSY_POLLS)) {
if (not pollReadyForPacket()) {
return PARTIALLY_WRITTEN;
}
abortPacketTransfer();
return returnvalue::FAILED;
}