crypto: qat - fix some timeout tests
authorPingchao Yang <pingchao.yang@intel.com>
Wed, 16 Dec 2015 06:09:50 +0000 (14:09 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Tue, 22 Dec 2015 12:43:32 +0000 (20:43 +0800)
commit51d77dddfff4a554744bfa0e67cf571319635645
treedfe74a947788815ec4f176b917ba39ff611790d2
parent46621e6f84908bb9df494d5fc2bcd145041810d5
crypto: qat - fix some timeout tests

Change the timeout condition since the times value would be -1 after
running MAX_RETRY_TIMES.

Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Yang Pingchao <pingchao.yang@intel.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/qat/qat_common/qat_hal.c