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;
 
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to