Patchwork fs-enet/mac-fec: Restore multicast and promiscous settings during restart

login
register
mail settings
Submitter Wolfgang Ocker
Date Aug. 12, 2010, 8:26 a.m.
Message ID <1281601578-8842-1-git-send-email-weo@reccoware.de>
Download mbox | patch
Permalink /patch/61545/
State Superseded
Delegated to: Kumar Gala
Headers show

Comments

Wolfgang Ocker - Aug. 12, 2010, 8:26 a.m.
Signed-off-by: Wolfgang Ocker <weo@reccoware.de>
---
 drivers/net/fs_enet/mac-fec.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

Patch

diff --git a/drivers/net/fs_enet/mac-fec.c b/drivers/net/fs_enet/mac-fec.c
index 7ca1642..05f4bb1 100644
--- a/drivers/net/fs_enet/mac-fec.c
+++ b/drivers/net/fs_enet/mac-fec.c
@@ -344,6 +344,9 @@  static void restart(struct net_device *dev)
 	FW(fecp, imask, FEC_ENET_TXF | FEC_ENET_TXB |
 	   FEC_ENET_RXF | FEC_ENET_RXB);
 
+	/* Restore multicast and promiscuous settings */
+	set_multicast_list(dev);
+
 	/*
 	 * And last, enable the transmit and receive processing.
 	 */