commit | 3358a5c0c1578fa215f90a0e750579cd6258ddd9 | [log] [tgz] |
---|---|---|
author | Dan Carpenter <dan.carpenter@oracle.com> | Thu Dec 24 12:21:22 2015 +0300 |
committer | David S. Miller <davem@davemloft.net> | Thu Dec 24 11:02:35 2015 -0500 |
tree | 5c6e34a1101d9ae83020cde8a279a59ff7cf94e0 | |
parent | 1dfddff5fcd869fcab0c52fafae099dfa435a935 [diff] |
qlcnic: fix a loop exit condition better In the original code, if we succeeded on the last iteration through the loop then we still returned failure. Fixes: 389e4e04ad2d ('qlcnic: fix a timeout loop') Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: David S. Miller <davem@davemloft.net>