Fix gcc4 build as well as logic error : the driver needlessly scanned some devices.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38413 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
81fe5a9200
commit
355a38a098
@ -595,7 +595,7 @@ usb_disk_device_added(usb_device newDevice, void **cookie)
|
||||
continue;
|
||||
|
||||
if (interface->descr->interface_class == 0x08 /* mass storage */
|
||||
|| interface->descr->interface_subclass == 0x04 /* UFI (floppy) */
|
||||
&& interface->descr->interface_subclass == 0x04 /* UFI (floppy) */
|
||||
&& interface->descr->interface_protocol == 0x00) {
|
||||
|
||||
bool hasIn = false;
|
||||
|
Loading…
x
Reference in New Issue
Block a user