qlcnic: fix diag register
authorAmit Kumar Salecha <amit.salecha@qlogic.com>
Mon, 4 Oct 2010 04:20:11 +0000 (04:20 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 5 Oct 2010 05:46:49 +0000 (22:46 -0700)
commitc265eb6ecb63e4b3a6b86b617fa7fd955a0e0980
tree63a2408d88f04164d9bf2dda73fe8026cedaa177
parentef1828058b8a37f7005be677686727bbbde77f6a
qlcnic: fix diag register

regs_buff[i] and diag_registers[j] array should use different index
variable.

Signed-off-by: Amit Kumar Salecha <amit.salecha@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/qlcnic/qlcnic_ethtool.c