From a9b2cd0aa6f2e03fc18dcf92e4446ef856bc1510 Mon Sep 17 00:00:00 2001 From: Ruslan Ermilov Date: Wed, 24 Mar 2004 17:43:45 +0000 Subject: [PATCH] Properly reprogram the hardware when IFF_ALLMULTI flag is set. --- sys/pci/if_ste.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sys/pci/if_ste.c b/sys/pci/if_ste.c index 01134c88c049..6dbf22297541 100644 --- a/sys/pci/if_ste.c +++ b/sys/pci/if_ste.c @@ -1427,6 +1427,9 @@ ste_ioctl(ifp, command, data) STE_CLRBIT1(sc, STE_RX_MODE, STE_RXMODE_PROMISC); } + if (ifp->if_flags & IFF_RUNNING && + (ifp->if_flags ^ sc->ste_if_flags) & IFF_ALLMULTI) + ste_setmulti(sc); if (!(ifp->if_flags & IFF_RUNNING)) { sc->ste_tx_thresh = STE_TXSTART_THRESH; ste_init(sc);