Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Feb 2009 21:50:16 +0000 (UTC)
From:      Andrew Thompson <thompsa@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r189124 - head/sys/dev/usb/wlan
Message-ID:  <200902272150.n1RLoGHB084173@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: thompsa
Date: Fri Feb 27 21:50:15 2009
New Revision: 189124
URL: http://svn.freebsd.org/changeset/base/189124

Log:
  Remove ic_update_mcast calls that are not implemented.
  
  Spotted by:	sam
  Pointy hat:	me

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

Modified: head/sys/dev/usb/wlan/if_rum.c
==============================================================================
--- head/sys/dev/usb/wlan/if_rum.c	Fri Feb 27 21:14:29 2009	(r189123)
+++ head/sys/dev/usb/wlan/if_rum.c	Fri Feb 27 21:50:15 2009	(r189124)
@@ -172,7 +172,6 @@ static void		rum_enable_tsf_sync(struct 
 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 const char	*rum_get_rf(int);
 static void		rum_read_eeprom(struct rum_softc *);
@@ -518,7 +517,6 @@ rum_attach_post(struct usb2_proc_msg *pm
 	ieee80211_init_channels(ic, NULL, &bands);
 
 	ieee80211_ifattach(ic);
-	ic->ic_update_mcast = rum_update_mcast;
 	ic->ic_update_promisc = rum_update_promisc;
 	ic->ic_newassoc = rum_newassoc;
 	ic->ic_raw_xmit = rum_raw_xmit;
@@ -1874,12 +1872,6 @@ rum_promisctask(struct usb2_proc_msg *pm
 }
 
 static void
-rum_update_mcast(struct ifnet *ifp)
-{
-	/* not supported */
-}
-
-static void
 rum_update_promisc(struct ifnet *ifp)
 {
 	struct rum_softc *sc = ifp->if_softc;

Modified: head/sys/dev/usb/wlan/if_ural.c
==============================================================================
--- head/sys/dev/usb/wlan/if_ural.c	Fri Feb 27 21:14:29 2009	(r189123)
+++ head/sys/dev/usb/wlan/if_ural.c	Fri Feb 27 21:50:15 2009	(r189124)
@@ -155,7 +155,6 @@ static void		ural_set_basicrates(struct 
 			    const struct ieee80211_channel *);
 static void		ural_set_bssid(struct ural_softc *, const uint8_t *);
 static void		ural_set_macaddr(struct ural_softc *, uint8_t *);
-static void		ural_update_mcast(struct ifnet *);
 static void		ural_update_promisc(struct ifnet *);
 static const char	*ural_get_rf(int);
 static void		ural_read_eeprom(struct ural_softc *);
@@ -509,7 +508,6 @@ ural_attach_post(struct usb2_proc_msg *p
 	ieee80211_init_channels(ic, NULL, &bands);
 
 	ieee80211_ifattach(ic);
-	ic->ic_update_mcast = ural_update_mcast;
 	ic->ic_update_promisc = ural_update_promisc;
 	ic->ic_newassoc = ural_newassoc;
 	ic->ic_raw_xmit = ural_raw_xmit;
@@ -2027,12 +2025,6 @@ ural_promisctask(struct usb2_proc_msg *p
 }
 
 static void
-ural_update_mcast(struct ifnet *ifp)
-{
-	/* not supported */
-}
-
-static void
 ural_update_promisc(struct ifnet *ifp)
 {
 	struct ural_softc *sc = ifp->if_softc;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200902272150.n1RLoGHB084173>