qlcnic: Fix ethtool statistics collection
authorShahed Shaikh <shahed.shaikh@qlogic.com>
Fri, 8 Mar 2013 09:53:52 +0000 (09:53 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sat, 9 Mar 2013 21:09:19 +0000 (16:09 -0500)
commit9434dbfe54518ca65fc80a4c8d3ee581fa6ee8be
treea45f7ad601e7cb60e17db9e14cf52f90b10db831
parent1075822c871b56eb1e77cff82fae7bc9d7876d0a
qlcnic: Fix ethtool statistics collection

o Properly fill statistics data into buffer.
  Update buffer pointer properly after filling statistics data into buffer.

Signed-off-by: Shahed Shaikh <shahed.shaikh@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/qlogic/qlcnic/qlcnic_ethtool.c