linux/drivers/net/ethernet/qlogic/qlcnic
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
..
Makefile net: ethernet: qlogic: qlcnic: Remove duplicate object file from Makefile 2014-08-11 12:44:35 -07:00
qlcnic_83xx_hw.c qlcnic: constify qlcnic_mbx_ops structure 2015-10-13 04:18:44 -07:00
qlcnic_83xx_hw.h qlcnic: Add support to enable capability to extend minidump for iSCSI 2015-08-10 13:34:28 -07:00
qlcnic_83xx_init.c qlcnic: Don't use kzalloc unncecessarily for allocating large chunk of memory 2015-08-10 13:34:28 -07:00
qlcnic_83xx_vnic.c qlcnic: fix a timeout loop 2015-12-15 13:11:05 -05:00
qlcnic_ctx.c net: qlcnic: delete redundant memsets 2015-09-09 17:06:01 -07:00
qlcnic_dcb.c Update setapp/getapp prototypes in dcbnl_rtnl_ops to return int instead of u8 2014-07-17 16:02:29 -07:00
qlcnic_dcb.h qlcnic: Issue INIT_NIC command only once. 2013-12-17 17:09:43 -05:00
qlcnic_ethtool.c qlcnic: Fix ordering of stats in stats buffer. 2014-09-26 15:11:31 -04:00
qlcnic_hdr.h qlcnic: Support for 16 virtual NIC functions. 2013-12-17 17:09:44 -05:00
qlcnic_hw.c qlcnic: Rearrange ordering of header files inclusion 2015-08-10 13:34:28 -07:00
qlcnic_hw.h qlcnic: Add support to enable capability to extend minidump for iSCSI 2015-08-10 13:34:28 -07:00
qlcnic_init.c qlcnic: Use usleep_range() instead of msleep() for sleep less than 20ms 2014-08-29 20:15:36 -07:00
qlcnic_io.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2015-02-05 14:33:28 -08:00
qlcnic_main.c net/qlcnic: fix mac address restore in bond mode 5/6 2015-11-07 13:17:31 -05:00
qlcnic_minidump.c qlcnic: Print firmware minidump buffer and template header addresses 2015-08-10 13:34:28 -07:00
qlcnic_sriov_common.c net: qlcnic: delete redundant memsets 2015-09-09 17:06:01 -07:00
qlcnic_sriov_pf.c qlcnic: Rearrange ordering of header files inclusion 2015-08-10 13:34:28 -07:00
qlcnic_sriov.h qlcnic: Rearrange ordering of header files inclusion 2015-08-10 13:34:28 -07:00
qlcnic_sysfs.c qlcnic: Rearrange ordering of header files inclusion 2015-08-10 13:34:28 -07:00
qlcnic.h qlcnic: constify qlcnic_mbx_ops structure 2015-10-13 04:18:44 -07:00