fix the response_length is modified.

This commit is contained in:
jinlun 2023-05-27 10:07:27 +08:00
parent 66c0f05a7f
commit f9c20fbfeb
2 changed files with 6 additions and 3 deletions

View File

@ -122,9 +122,9 @@ index 55f939c..24beac1 100644
+ get_result_request_data.FirmwareType = IPMI_FW_SHIM_GRUB;
+ get_result_request_data.FirmwareDetailType = IPMI_FW_DETAIL_GRUB;
+
+ response_length = sizeof(OEM_BMC_GET_RESULT_RESPONSE);
+
+ // Polling for 7 seconds
+ while (timeout_ms > 0) {
+ response_length = sizeof(OEM_BMC_GET_RESULT_RESPONSE);
+ msleep(WAIT_TIME_UNIT);
+ timeout_ms -= WAIT_TIME_UNIT;
+

View File

@ -22,7 +22,7 @@
Name: shim
Version: 15
Release: 29
Release: 30
Summary: First-stage UEFI bootloader
ExclusiveArch: x86_64 aarch64
License: BSD
@ -156,6 +156,9 @@ cd ..
/usr/src/debug/%{name}-%{version}-%{release}/*
%changelog
* Sat May 27 2023 jinlun <jinlun@huawei.com> - 15-30
- fix the response_length is modified.
* Fri Mar 17 2023 huangzq6 <huangzhenqiang2@huawei.com> - 15-29
- fix the bug for fb and mok, do some clean code.