diff options
author | jljusten <jljusten@6f19259b-4bc3-4df7-8a09-765794883524> | 2008-02-26 01:30:14 +0000 |
---|---|---|
committer | jljusten <jljusten@6f19259b-4bc3-4df7-8a09-765794883524> | 2008-02-26 01:30:14 +0000 |
commit | 9e58aa1d3c8f519d1d7eb3be8df57cd8ce2f5688 (patch) | |
tree | 966c8c993a83b7ed3819f6e2e9c1cb9afbe74130 /MdeModulePkg/Bus/Usb/UsbBusDxe | |
parent | 47166333b19d138f081f40b0cbdb49137e8ada4c (diff) | |
download | edk2-platforms-9e58aa1d3c8f519d1d7eb3be8df57cd8ce2f5688.tar.xz |
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
Diffstat (limited to 'MdeModulePkg/Bus/Usb/UsbBusDxe')
-rw-r--r-- | MdeModulePkg/Bus/Usb/UsbBusDxe/UsbUtility.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/MdeModulePkg/Bus/Usb/UsbBusDxe/UsbUtility.c b/MdeModulePkg/Bus/Usb/UsbBusDxe/UsbUtility.c index 37e6c05a2f..3badf896c6 100644 --- a/MdeModulePkg/Bus/Usb/UsbBusDxe/UsbUtility.c +++ b/MdeModulePkg/Bus/Usb/UsbBusDxe/UsbUtility.c @@ -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;
}
|