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/2bb5a1468af9
branches: trunk
changeset: 950088:2bb5a1468af9
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 a640b3fe156c -r 2bb5a1468af9 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
@@ -3216,7 +3216,7 @@
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;
@@ -3757,6 +3757,7 @@
}
break;
+#if 0
case SIOCADDMULTI:
case SIOCDELMULTI:
if ((error = ether_ioctl(ifp, cmd, data)) == ENETRESET) {
@@ -3764,7 +3765,6 @@
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