Commit f567ef93 authored by Ralf Baechle's avatar Ralf Baechle Committed by Jeff Garzik

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

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

 drivers/net/sb1250-mac.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)
Signed-off-by: default avatarJeff Garzik <jgarzik@pobox.com>
parent 757d18fa
...@@ -2419,7 +2419,7 @@ static int sbmac_init(struct net_device *dev, int idx) ...@@ -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);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment