svn commit: r207768 - head/sys/dev/usb/wlan

Ed Maste emaste at FreeBSD.org
Sat May 8 11:56:01 UTC 2010


Author: emaste
Date: Sat May  8 11:56:00 2010
New Revision: 207768
URL: http://svn.freebsd.org/changeset/base/207768

Log:
  Add dummy function for ic_update_mcast (a la if_urtw) to avoid console
  spam.

Modified:
  head/sys/dev/usb/wlan/if_rum.c

Modified: head/sys/dev/usb/wlan/if_rum.c
==============================================================================
--- head/sys/dev/usb/wlan/if_rum.c	Sat May  8 05:42:05 2010	(r207767)
+++ head/sys/dev/usb/wlan/if_rum.c	Sat May  8 11:56:00 2010	(r207768)
@@ -197,6 +197,7 @@ static void		rum_enable_tsf(struct rum_s
 static void		rum_update_slot(struct ifnet *);
 static void		rum_set_bssid(struct rum_softc *, const uint8_t *);
 static void		rum_set_macaddr(struct rum_softc *, const uint8_t *);
+static void		rum_update_mcast(struct ifnet *);
 static void		rum_update_promisc(struct ifnet *);
 static void		rum_setpromisc(struct rum_softc *);
 static const char	*rum_get_rf(int);
@@ -514,6 +515,7 @@ rum_attach(device_t self)
 
 	ic->ic_vap_create = rum_vap_create;
 	ic->ic_vap_delete = rum_vap_delete;
+	ic->ic_update_mcast = rum_update_mcast;
 
 	ieee80211_radiotap_attach(ic,
 	    &sc->sc_txtap.wt_ihdr, sizeof(sc->sc_txtap),
@@ -1815,6 +1817,13 @@ rum_update_promisc(struct ifnet *ifp)
 	RUM_UNLOCK(sc);
 }
 
+static void
+rum_update_mcast(struct ifnet *ifp)
+{
+
+	/* XXX do nothing? */
+}
+
 static const char *
 rum_get_rf(int rev)
 {


More information about the svn-src-all mailing list