linux/drivers/net/ethernet/qlogic/qlge
Dan Carpenter 351434c6ba qlge: fix a timeout loop in ql_change_rx_buffers()
The problem here is that after the loop we test for "if (!i) " but
because "i--" is a post-op we exit with i set to -1.  I have fixed this
by changing it to a pre-op instead.  I had to change the starting value
from 3 to 4 so that we still iterate 3 times.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2015-12-15 12:46:03 -05:00
..
Makefile
qlge_dbg.c qlge: make local function static 2013-12-26 13:29:35 -05:00
qlge_ethtool.c drivers/net: get rid of unnecessary initializations in .get_drvinfo() 2015-10-16 00:24:10 -07:00
qlge_main.c qlge: fix a timeout loop in ql_change_rx_buffers() 2015-12-15 12:46:03 -05:00
qlge_mpi.c qlge: call ql_core_dump() only if dump memory was allocated. 2013-09-24 11:19:46 -04:00
qlge.h qlge: make local function static 2013-12-26 13:29:35 -05:00