Kim B. Heino fac71cc49f USB storage probe
While debugging one ill behaving USB device I found two bugs in USB
storage probe.

usb_stor_get_info() returns -1 (error), 0 (skip) or 1 (ok). First part
of this patch fixes error case.

Second part fixes usb_inquiry()'s retry counter handling. Original code
had retry = -1 on error case, not retry = 0 as checked in the next line.

Signed-off-by: Kim B. Heino <Kim.Heino@bluegiga.com>
2010-04-08 21:40:00 +02:00
..
2009-06-12 20:47:16 +02:00
2009-06-12 20:47:16 +02:00
2009-06-12 20:47:16 +02:00
2009-06-12 20:47:16 +02:00
2010-04-01 11:28:32 +02:00
2009-06-12 20:47:16 +02:00
2010-01-18 00:44:13 +01:00
2009-06-12 20:47:16 +02:00
2009-06-12 20:47:16 +02:00
2009-06-12 20:47:16 +02:00
2009-06-12 20:47:16 +02:00
2009-06-12 20:47:16 +02:00
2010-01-18 00:42:37 +01:00
2009-07-28 22:38:53 +02:00
2009-06-12 20:47:16 +02:00
2009-06-12 20:47:16 +02:00
2009-06-12 20:47:16 +02:00
2009-06-12 20:47:16 +02:00
2009-11-23 00:06:12 +01:00
2009-06-12 20:47:16 +02:00
2009-06-12 20:47:16 +02:00
2009-06-12 20:47:16 +02:00
2009-06-12 20:47:16 +02:00
2010-03-21 16:44:04 +01:00
2009-10-27 20:58:25 +01:00
2009-06-12 20:47:16 +02:00
2009-06-12 20:47:16 +02:00
2009-06-12 20:47:16 +02:00
2009-06-12 20:47:16 +02:00
2009-10-07 09:15:26 +02:00
2009-06-12 20:47:16 +02:00
2009-06-12 20:47:16 +02:00
2009-10-24 22:44:18 +02:00
2009-06-12 20:47:16 +02:00
2009-06-12 20:47:16 +02:00
2009-11-23 00:06:13 +01:00
2009-07-23 21:33:02 +02:00
2009-07-20 23:54:57 +02:00
2009-07-09 13:04:25 +02:00
2009-06-12 20:47:16 +02:00
2010-04-08 21:40:00 +02:00
2009-06-12 20:47:16 +02:00
2010-03-12 23:06:04 +01:00
2009-06-12 20:47:16 +02:00
2003-06-27 21:31:46 +00:00
2010-03-12 23:06:04 +01:00
2009-12-02 22:53:51 +01:00
2008-10-18 21:54:03 +02:00
2009-07-16 22:23:53 +02:00
2010-01-18 00:23:00 +01:00
2010-01-18 00:24:21 +01:00
2010-03-24 11:23:15 +01:00
2010-01-18 00:44:13 +01:00
2002-08-17 09:36:01 +00:00
2009-10-13 21:13:55 -05:00
2008-10-18 21:54:03 +02:00
2010-04-08 21:40:00 +02:00