[PATCH] sb1250-mac: Check the actual setting for reporting hw checksumming.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>

 drivers/net/sb1250-mac.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
This commit is contained in:
Ralf Baechle 2005-10-10 14:50:24 +01:00 committed by Jeff Garzik
parent 757d18faee
commit f567ef9350

View File

@ -2419,7 +2419,7 @@ static int sbmac_init(struct net_device *dev, int idx)
if (err) if (err)
goto out_uninit; goto out_uninit;
if (periph_rev >= 2) { if (sc->rx_hw_checksum == ENABLE) {
printk(KERN_INFO "%s: enabling TCP rcv checksum\n", printk(KERN_INFO "%s: enabling TCP rcv checksum\n",
sc->sbm_dev->name); sc->sbm_dev->name);
} }