bnx2x: fix typo in fcoe stats collection
authorBarak Witkowski <barak@broadcom.com>
Wed, 7 Dec 2011 03:45:36 +0000 (03:45 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 7 Dec 2011 18:25:08 +0000 (13:25 -0500)
Signed-off-by: Barak Witkowski <barak@broadcom.com>
Signed-off-by: Eilon Greenstein <eilong@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c

index 418e7d37742429ee49260ebaeb43b3aa01d2771b..62aa3a82a23ef2da4a773f03920f7084af390ba4 100644 (file)
@@ -2994,7 +2994,7 @@ static void bnx2x_drv_info_fcoe_stat(struct bnx2x *bp)
                       fcoe_q_tstorm_stats->rcv_bcast_pkts);
 
                ADD_64(fcoe_stat->rx_frames_hi, 0, fcoe_stat->rx_frames_lo,
-                      fcoe_q_tstorm_stats->rcv_ucast_pkts);
+                      fcoe_q_tstorm_stats->rcv_mcast_pkts);
 
                ADD_64(fcoe_stat->tx_bytes_hi, 0, fcoe_stat->tx_bytes_lo,
                       fw_fcoe_stat->tx_stat.fcoe_tx_byte_cnt);