]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commitdiff
[netdrvr] forcedeth: Restore multicast settings on resume
authorTobias Diedrich <ranma+kernel@tdiedrich.de>
Sun, 18 May 2008 13:00:36 +0000 (15:00 +0200)
committerJeff Garzik <jgarzik@redhat.com>
Thu, 22 May 2008 10:18:47 +0000 (06:18 -0400)
nv_open() resets multicast settings, call nv_set_multicast(dev)
to restore them.  (Maybe this should rather be moved into nv_open())

Signed-off-by: Tobias Diedrich <ranma+kernel@tdiedrich.de>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
drivers/net/forcedeth.c

index 35f66d4a4595d5148f4affbc167897c60ca49792..9eca97fb0a54ab58b35eba4ae3aff614e7d4233d 100644 (file)
@@ -5823,6 +5823,7 @@ static int nv_resume(struct pci_dev *pdev)
        writel(txreg, base + NvRegTransmitPoll);
 
        rc = nv_open(dev);
+       nv_set_multicast(dev);
 out:
        return rc;
 }