small logic fix on my part, not properly handling usb drives with empty media. Potential fix to #7687

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42186 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Alexander von Gluck IV
2011-06-14 16:39:35 +00:00
parent 40f4cf2aca
commit b3ce8cd8ba
@@ -787,11 +787,12 @@ usb_disk_device_added(usb_device newDevice, void **cookie)
break;
}
TRACE("usb lun %"B_PRIu8" not ready, attempt %"B_PRIu32"\n",
i, tries);
TRACE("usb lun %"B_PRIu8" is ready... "
"but doesn't have any media inserted\n", i);
break;
}
TRACE("usb lun %"B_PRIu8" inquiry attempt %"B_PRIu32" failed\n", i,
tries);
TRACE("usb lun %"B_PRIu8" inquiry attempt %"B_PRIu32" failed\n",
i, tries);
bigtime_t snoozeTime = 1000000 * tries;
TRACE("snoozing %"B_PRIu64" microseconds for usb lun\n",