Author: avos
Date: Wed Sep  7 12:07:02 2016
New Revision: 305528
URL: https://svnweb.freebsd.org/changeset/base/305528

Log:
  rum: use mgmt frame rate for EAPOL frames.

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      Wed Sep  7 09:31:10 2016        
(r305527)
+++ head/sys/dev/usb/wlan/if_rum.c      Wed Sep  7 12:07:02 2016        
(r305528)
@@ -1631,6 +1631,8 @@ rum_tx_data(struct rum_softc *sc, struct
                rate = tp->mcastrate;
        else if (tp->ucastrate != IEEE80211_FIXED_RATE_NONE)
                rate = tp->ucastrate;
+       else if (m0->m_flags & M_EAPOL)
+               rate = tp->mgmtrate;
        else
                rate = ni->ni_txrate;
 
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[email protected]"

Reply via email to