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

Adrian Chadd adrian at FreeBSD.org
Sat Oct 3 06:35:18 UTC 2015


Author: adrian
Date: Sat Oct  3 06:35:17 2015
New Revision: 288535
URL: https://svnweb.freebsd.org/changeset/base/288535

Log:
  Remove beacon offsets usage from if_rum.
  
  Differential Revision: https://reviews.freebsd.org/D3658

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

Modified: head/sys/dev/usb/wlan/if_rum.c
==============================================================================
--- head/sys/dev/usb/wlan/if_rum.c	Sat Oct  3 06:07:01 2015	(r288534)
+++ head/sys/dev/usb/wlan/if_rum.c	Sat Oct  3 06:35:17 2015	(r288535)
@@ -2187,7 +2187,7 @@ rum_prepare_beacon(struct rum_softc *sc,
 	if (ic->ic_bsschan == IEEE80211_CHAN_ANYC)
 		return;
 
-	m0 = ieee80211_beacon_alloc(vap->iv_bss, &RUM_VAP(vap)->bo);
+	m0 = ieee80211_beacon_alloc(vap->iv_bss, &vap->iv_bcn_off);
 	if (m0 == NULL)
 		return;
 

Modified: head/sys/dev/usb/wlan/if_rumvar.h
==============================================================================
--- head/sys/dev/usb/wlan/if_rumvar.h	Sat Oct  3 06:07:01 2015	(r288534)
+++ head/sys/dev/usb/wlan/if_rumvar.h	Sat Oct  3 06:35:17 2015	(r288535)
@@ -88,7 +88,6 @@ struct rum_cmdq {
 
 struct rum_vap {
 	struct ieee80211vap		vap;
-	struct ieee80211_beacon_offsets	bo;
 	struct usb_callout		ratectl_ch;
 	struct task			ratectl_task;
 


More information about the svn-src-head mailing list