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/ba2b13848a07
branches:  trunk
changeset: 369219:ba2b13848a07
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 fd058037dcd3 -r ba2b13848a07 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 @@
 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 @@
                }
                break;
 
+#if 0
        case SIOCADDMULTI:
        case SIOCDELMULTI:
                if ((error = ether_ioctl(ifp, cmd, data)) == ENETRESET) {
@@ -3837,7 +3838,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