No need to reprogram hardware RX filter when driver is not running.
This commit is contained in:
parent
7ae32f8a3c
commit
1f8b1fbd02
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=232027
@ -600,7 +600,8 @@ sf_ioctl(struct ifnet *ifp, u_long command, caddr_t data)
|
||||
case SIOCADDMULTI:
|
||||
case SIOCDELMULTI:
|
||||
SF_LOCK(sc);
|
||||
sf_rxfilter(sc);
|
||||
if ((ifp->if_drv_flags & IFF_DRV_RUNNING) != 0)
|
||||
sf_rxfilter(sc);
|
||||
SF_UNLOCK(sc);
|
||||
break;
|
||||
case SIOCGIFMEDIA:
|
||||
|
Loading…
Reference in New Issue
Block a user