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

Andriy Voskoboinyk avos at FreeBSD.org
Wed Sep 7 12:07:03 UTC 2016


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;
 


More information about the svn-src-head mailing list