OSDN Git Service

cxgb4: fix the wrong conversion of Mbps to Kbps
authorGanesh Goudar <ganeshgr@chelsio.com>
Thu, 10 May 2018 10:37:23 +0000 (16:07 +0530)
committerDavid S. Miller <davem@davemloft.net>
Thu, 10 May 2018 21:52:02 +0000 (17:52 -0400)
commitb3c594ab6fcf7a91453442755deb1f3941eeed64
tree3cb4f0422c97a6fdf4b92d6dc801f9147ebe6bc9
parentccb0263814149883e80a07ffad79dbd0690e3ba9
cxgb4: fix the wrong conversion of Mbps to Kbps

fix the wrong conversion where 1 Mbps was converted to
1024 Kbps.

Signed-off-by: Ganesh Goudar <ganeshgr@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c