Skip to content

Commit

Permalink
bugfix: return corresponding port_index in QUERY_RESP.
Browse files Browse the repository at this point in the history
fix #291

Signed-off-by: Yang, Longlong <longlong.yang@intel.com>
  • Loading branch information
longlongyang committed Oct 13, 2023
1 parent d2c59c1 commit 7b049a1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions library/pci_ide_km_responder_lib/pci_ide_km_rsp_query.c
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ libspdm_return_t pci_ide_km_get_response_query (const void *pci_doe_context,

libspdm_zero_mem (response, *response_size);
ide_km_response->header.object_id = PCI_IDE_KM_OBJECT_ID_QUERY_RESP;
ide_km_response->port_index = ide_km_request->port_index;

status = pci_ide_km_device_query (pci_doe_context, spdm_context, session_id,
ide_km_request->port_index,
Expand Down

0 comments on commit 7b049a1

Please sign in to comment.