- /*
- * Some devices don't like GetMaxLUN. They may STALL the control
- * pipe, they may return a zero-length result, they may do nothing at
- * all and timeout, or they may fail in even more bizarrely creative
- * ways. In these cases the best approach is to use the default
- * value: only one LUN.
- */
- return 0;
+ /* An answer or a STALL are the only valid responses. If we get
+ * something else, return an indication of error */
+ return -1;