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
..
2015-04-03 18:59:34 +02:00
2015-02-26 17:06:39 +01:00
2011-03-31 11:26:23 -03:00
2015-12-18 09:30:34 -08:00
2014-11-26 10:41:46 -08:00
2014-09-15 18:43:08 +02:00
2015-07-06 12:15:02 +02:00
2015-07-28 09:27:50 +02:00