Skip to content

Commit 2d7fbfb

Browse files
committed
plmd-platform: Only expect PDR Resp CRC for End
Previously it was also expected/produced for StartAndEnd, which is incorrect. Confirmed in DMTF/PMCI-WG#975 Signed-off-by: Matt Johnston <matt@codeconstruct.com.au>
1 parent 88c9eba commit 2d7fbfb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pldm-platform/src/proto.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -652,7 +652,7 @@ pub struct GetPDRResp {
652652

653653
/// CRC over entire PDR, when transfer_flag == end
654654
// TODO
655-
#[deku(cond = "*transfer_flag & xfer_flag::END != 0")]
655+
#[deku(cond = "*transfer_flag == xfer_flag::END")]
656656
pub crc: Option<u8>,
657657
}
658658

0 commit comments

Comments
 (0)