Skip to content

Commit 1df5490

Browse files
mkjjk-ozlabs
authored andcommitted
pldm-platform: No CRC in GetPDRResp::new_single
StartAndEnd packets shouldn't include the CRC. Signed-off-by: Matt Johnston <[email protected]>
1 parent 09f1f25 commit 1df5490

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

pldm-platform/src/proto.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -675,8 +675,7 @@ impl GetPDRResp {
675675
next_data_transfer_handle: 0,
676676
transfer_flag: xfer_flag::START_AND_END,
677677
record_data: Default::default(),
678-
// TODO crc
679-
crc: Some(0),
678+
crc: None,
680679
};
681680
let cap = s.record_data.capacity();
682681
s.record_data.resize_default(cap).unwrap();

0 commit comments

Comments
 (0)