Files
android_kernel_xiaomi_sm8450/drivers/net/ethernet/qlogic
Dan Carpenter 389e4e04ad qlcnic: fix a timeout loop
The problem here is that at the end of the loop we test for if
idc->vnic_wait_limit is zero, but since idc->vnic_wait_limit-- is a
post-op, it actually ends up set to (u8)-1.  I have fixed this by
moving the decrement inside the loop.

Fixes: 486a5bc77a ('qlcnic: Add support for 83xx suspend and resume.')
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2015-12-15 13:11:05 -05:00
..
2015-10-27 19:34:54 -07:00
2015-12-15 13:11:05 -05:00
2015-11-10 15:39:03 -05:00
2015-10-27 19:34:47 -07:00
2011-08-10 20:03:49 -07:00