Properly reprogram the hardware when IFF_ALLMULTI flag is set.

This commit is contained in:
Ruslan Ermilov 2004-03-24 17:43:45 +00:00
parent 8b96678536
commit a9b2cd0aa6

View File

@ -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);