Dan Carpenter
abdc9a3b4b
USB: ipaq.c: fix a timeout loop
...
The code expects the loop to end with "retries" set to zero but, because
it is a post-op, it will end set to -1. I have fixed this by moving the
decrement inside the loop.
Fixes: 014aa2a3c32e ('USB: ipaq: minor ipaq_open() cleanup.')
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Cc: stable <stable@vger.kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2015-12-18 09:30:34 -08:00
..
2014-01-03 12:39:31 -08:00
2014-01-08 15:01:39 -08:00
2014-01-08 15:01:39 -08:00
2015-02-26 17:13:05 +01:00
2015-04-03 18:59:34 +02:00
2015-02-26 17:06:39 +01:00
2015-11-23 10:31:05 +01:00
2014-03-12 12:44:50 -07:00
2014-03-12 12:44:50 -07:00
2014-01-03 12:42:24 -08:00
2014-09-23 21:19:35 -07:00
2014-01-08 15:01:39 -08:00
2015-03-27 17:36:29 +01:00
2015-08-18 10:07:40 -07:00
2015-08-18 10:07:40 -07:00
2012-03-14 15:43:05 -07:00
2014-01-08 15:01:39 -08:00
2015-03-07 03:44:14 +01:00
2014-01-08 15:01:39 -08:00
2011-03-31 11:26:23 -03:00
2013-03-25 13:50:53 -07:00
2015-10-09 12:23:50 +02:00
2014-05-27 15:12:57 -07:00
2015-12-18 09:30:34 -08:00
2014-01-08 15:01:39 -08:00
2014-01-03 12:31:46 -08:00
2014-03-12 12:44:50 -07:00
2015-06-23 14:08:54 -07:00
2015-03-19 18:04:01 +01:00
2014-01-03 12:39:31 -08:00
2015-01-02 15:12:28 +01:00
2012-10-25 09:37:13 -07:00
2014-07-09 15:44:06 -07:00
2014-11-26 10:41:46 -08:00
2014-09-15 18:43:08 +02:00
2014-01-08 15:01:39 -08:00
2010-10-18 11:03:14 +02:00
2014-01-08 15:01:39 -08:00
2015-07-06 12:15:02 +02:00
2015-06-01 16:39:41 +02:00
2015-08-05 12:37:21 -07:00
2014-01-08 15:01:39 -08:00
2014-01-08 15:01:39 -08:00
2014-11-03 09:07:30 +01:00
2015-11-19 16:31:42 -08:00
2014-01-08 15:01:39 -08:00
2015-07-30 18:11:07 +02:00
2015-04-29 12:34:24 +02:00
2014-01-08 15:01:39 -08:00
2015-11-16 18:29:07 +01:00
2014-03-12 12:44:50 -07:00
2014-01-08 15:01:39 -08:00
2015-07-28 09:27:50 +02:00
2014-03-12 12:44:50 -07:00
2014-11-19 16:22:22 +01:00
2015-08-18 10:06:22 -07:00
2015-11-16 14:07:01 +01:00
2015-11-16 14:07:01 +01:00
2014-01-08 15:01:39 -08:00
2015-10-09 12:42:40 +02:00
2015-11-23 10:32:59 +01:00
2015-07-09 10:41:23 +02:00
2015-10-09 12:42:40 +02:00
2015-04-29 12:36:52 +02:00
2014-01-03 12:39:31 -08:00
2015-09-23 12:15:19 -07:00
2014-01-08 15:01:39 -08:00
2014-09-04 11:18:26 +02:00