Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 3 Oct 2015 06:35:17 +0000 (UTC)
From:      Adrian Chadd <adrian@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r288535 - head/sys/dev/usb/wlan
Message-ID:  <201510030635.t936ZHbs040140@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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;
 



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