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/e6e1a9039bfc
branches:  trunk
changeset: 948144:e6e1a9039bfc
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 9f055136aeea -r e6e1a9039bfc 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