Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src-draft/trunk]: src/sys/dev/pci Disable SIOCADDMULTI/SIOCDELMULTI same as ...
details: https://anonhg.NetBSD.org/src-all/rev/7e049ae5c92c
branches: trunk
changeset: 377840:7e049ae5c92c
user: Nathanial Sloss <nat%netbsd.org@localhost>
date: Sun Oct 04 17:57:24 2020 +1100
description:
Disable SIOCADDMULTI/SIOCDELMULTI same as what is currently done for urtwn.
diffstat:
sys/dev/pci/if_iwn.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (28 lines):
diff -r 8c14cb29d00e -r 7e049ae5c92c sys/dev/pci/if_iwn.c
--- a/sys/dev/pci/if_iwn.c Sun Oct 04 17:54:33 2020 +1100
+++ b/sys/dev/pci/if_iwn.c Sun Oct 04 17:57:24 2020 +1100
@@ -3289,7 +3289,7 @@ static int
iwn_transmit(struct ieee80211com *ic, struct mbuf *m)
{
struct ieee80211vap *vap = TAILQ_FIRST(&ic->ic_vaps);
- struct iwn_softc *sc = vap->iv_ic->ic_softc;
+ //struct iwn_softc *sc = vap->iv_ic->ic_softc;
int s;
size_t pktlen = m->m_pkthdr.len;
@@ -3830,6 +3830,7 @@ iwn_ioctl(struct ifnet *ifp, u_long cmd,
}
break;
+#if 0
case SIOCADDMULTI:
case SIOCDELMULTI:
if ((error = ether_ioctl(ifp, cmd, data)) == ENETRESET) {
@@ -3837,7 +3838,6 @@ iwn_ioctl(struct ifnet *ifp, u_long cmd,
error = 0;
}
break;
-#if 0
sa = ifreq_getaddr(SIOCADDMULTI, (struct ifreq *)data);
error = (cmd == SIOCADDMULTI) ?
ether_addmulti(sa, &sc->sc_ec) :
Home |
Main Index |
Thread Index |
Old Index