rum: use mgmt frame rate for EAPOL frames.

This commit is contained in:
Andriy Voskoboinyk 2016-09-07 12:07:02 +00:00
parent 2b99b9f3d2
commit 4c90f11b3c

View File

@ -1631,6 +1631,8 @@ rum_tx_data(struct rum_softc *sc, struct mbuf *m0, struct ieee80211_node *ni)
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;