edk2/MdeModulePkg/Bus/Usb/UsbBusDxe/UsbUtility.c:

Corrected usage of parenthesis for 'if' boolean condition.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4756 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
jljusten 2008-02-26 01:30:14 +00:00
parent 47166333b1
commit 9e58aa1d3c
1 changed files with 4 additions and 4 deletions

View File

@ -964,8 +964,8 @@ MatchUsbClass (
UsbClassDevicePathPtr->DeviceClass == 0xff) &&
(UsbClassDevicePathPtr->DeviceSubClass == ActIfDesc->InterfaceSubClass ||
UsbClassDevicePathPtr->DeviceSubClass == 0xff) &&
(UsbClassDevicePathPtr->DeviceProtocol == ActIfDesc->InterfaceProtocol) ||
UsbClassDevicePathPtr->DeviceProtocol == 0xff) {
(UsbClassDevicePathPtr->DeviceProtocol == ActIfDesc->InterfaceProtocol ||
UsbClassDevicePathPtr->DeviceProtocol == 0xff)) {
return TRUE;
}
@ -973,8 +973,8 @@ MatchUsbClass (
UsbClassDevicePathPtr->DeviceClass == 0xff) &&
(UsbClassDevicePathPtr->DeviceSubClass == DevDesc->DeviceSubClass ||
UsbClassDevicePathPtr->DeviceSubClass == 0xff) &&
(UsbClassDevicePathPtr->DeviceProtocol == DevDesc->DeviceProtocol) ||
UsbClassDevicePathPtr->DeviceProtocol == 0xff) {
(UsbClassDevicePathPtr->DeviceProtocol == DevDesc->DeviceProtocol ||
UsbClassDevicePathPtr->DeviceProtocol == 0xff)) {
return TRUE;
}