Tiny cleanup.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42838 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Michael Lotz 2011-10-13 08:43:56 +00:00
parent 79e3f9012d
commit c6e876fc85

View File

@ -704,7 +704,7 @@ usb_disk_device_added(usb_device newDevice, void **cookie)
continue;
if (!hasIn && (endpoint->descr->endpoint_address
& USB_ENDPOINT_ADDR_DIR_IN)) {
& USB_ENDPOINT_ADDR_DIR_IN) != 0) {
device->bulk_in = endpoint->handle;
hasIn = true;
} else if (!hasOut && (endpoint->descr->endpoint_address