OcDevicePathLib: Correct NodeType check for SATA and NVMe fixes

This commit is contained in:
Download-Fritz 2019-05-01 12:09:53 +02:00
parent e76093954a
commit dbb63a6cb4

View File

@ -284,7 +284,7 @@ OcFixAppleBootDevicePath (
NodeType = DevicePathType (InvalidNode.DevPath);
NodeSubType = DevicePathSubType (InvalidNode.DevPath);
if (NodeType == MEDIA_DEVICE_PATH) {
if (NodeType == MESSAGING_DEVICE_PATH) {
switch (NodeSubType) {
case MSG_SATA_DP:
{