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 Add (for now empty) update_mcast handler



details:   https://anonhg.NetBSD.org/src-all/rev/27aed11a8d15
branches:  trunk
changeset: 986963:27aed11a8d15
user:      Martin Husemann <martin%NetBSD.org@localhost>
date:      Sun Jun 06 14:29:47 2021 +0200

description:
Add (for now empty) update_mcast handler

diffstat:

 sys/dev/pci/if_rtwn.c |  7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)

diffs (31 lines):

diff -r 9d577b966d6c -r 27aed11a8d15 sys/dev/pci/if_rtwn.c
--- a/sys/dev/pci/if_rtwn.c     Sun Jun 06 14:28:55 2021 +0200
+++ b/sys/dev/pci/if_rtwn.c     Sun Jun 06 14:29:47 2021 +0200
@@ -140,6 +140,7 @@
 static int     rtwn_transmit(struct ieee80211com *ic, struct mbuf *m);
 static int     rtwn_raw_xmit(struct ieee80211_node *ni, struct mbuf *m,
                    const struct ieee80211_bpf_params *bpfp);
+static void    rtwn_update_mcast(struct ieee80211com *);
 static int     rtwn_newstate(struct ieee80211vap *, enum ieee80211_state,
                    int);
 static void    rtwn_scan_start(struct ieee80211com *ic);
@@ -385,6 +386,7 @@
        ic->ic_scan_end = rtwn_scan_end;
        ic->ic_transmit = rtwn_transmit;
        ic->ic_raw_xmit = rtwn_raw_xmit;
+       ic->ic_update_mcast = rtwn_update_mcast;
        ic->ic_newassoc = rtwn_newassoc;
        ic->ic_wme.wme_update = rtwn_wme_update;
 
@@ -1905,6 +1907,11 @@
        return 0;
 }
 
+static void
+rtwn_update_mcast(struct ieee80211com *ic)
+{
+}
+
 static int
 rtwn_raw_xmit(struct ieee80211_node *ni, struct mbuf *m,
     const struct ieee80211_bpf_params *bpfp)



Home | Main Index | Thread Index | Old Index