Skip to content

Commit

Permalink
[PATCH] sb1250-mac: Check the actual setting for reporting hw checksu…
Browse files Browse the repository at this point in the history
…mming.

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>
  • Loading branch information
Ralf Baechle authored and Jeff Garzik committed Oct 18, 2005
1 parent 757d18f commit f567ef9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/net/sb1250-mac.c
Original file line number Diff line number Diff line change
Expand Up @@ -2419,7 +2419,7 @@ static int sbmac_init(struct net_device *dev, int idx)
if (err)
goto out_uninit;

if (periph_rev >= 2) {
if (sc->rx_hw_checksum == ENABLE) {
printk(KERN_INFO "%s: enabling TCP rcv checksum\n",
sc->sbm_dev->name);
}
Expand Down

0 comments on commit f567ef9

Please sign in to comment.