Skip to content

Commit 4060015

Browse files
committed
pldm-file: report all implemented commands
We were only registering the DfProperties command; report support for DfOpen, DfRead and DfClose too. Signed-off-by: Jeremy Kerr <jk@codeconstruct.com.au>
1 parent d57a324 commit 4060015

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

pldm-file/src/host.rs

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,12 @@ impl<const N: usize> Responder<N> {
9393
PLDM_TYPE_FILE_TRANSFER,
9494
0xf1f0f000,
9595
Some(MAX_PART_SIZE),
96-
&[Cmd::DfProperties as u8],
96+
&[
97+
Cmd::DfProperties as u8,
98+
Cmd::DfOpen as u8,
99+
Cmd::DfClose as u8,
100+
Cmd::DfRead as u8,
101+
],
97102
)
98103
}
99104

0 commit comments

Comments
 (0)