diff options
| author | Andriy Voskoboinyk <avos@FreeBSD.org> | 2017-02-26 20:49:35 +0000 |
|---|---|---|
| committer | Andriy Voskoboinyk <avos@FreeBSD.org> | 2017-02-26 20:49:35 +0000 |
| commit | f6313575401b3e97469df997e8b9d1a18fb485d0 (patch) | |
| tree | 157d78224587d45de6f2a92e09caff18cbfe7fac /sys/dev/otus | |
| parent | 2fa6d2fe8429a0bdcead3f328e95f3158f30244d (diff) | |
Notes
Diffstat (limited to 'sys/dev/otus')
| -rw-r--r-- | sys/dev/otus/if_otus.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/otus/if_otus.c b/sys/dev/otus/if_otus.c index d67a01602168..ae7ccacfc551 100644 --- a/sys/dev/otus/if_otus.c +++ b/sys/dev/otus/if_otus.c @@ -2231,11 +2231,11 @@ otus_tx(struct otus_softc *sc, struct ieee80211_node *ni, struct mbuf *m, /* Pickup a rate index. */ if (params != NULL) { rate = otus_rate_to_hw_rate(sc, params->ibp_rate0); - } else if (IEEE80211_IS_MULTICAST(wh->i_addr1) || - (wh->i_fc[0] & IEEE80211_FC0_TYPE_MASK) != IEEE80211_FC0_TYPE_DATA) { + } else if (m->m_flags & M_EAPOL) { /* Get lowest rate */ rate = otus_rate_to_hw_rate(sc, 0); - } else if (m->m_flags & M_EAPOL) { + } else if (IEEE80211_IS_MULTICAST(wh->i_addr1) || + (wh->i_fc[0] & IEEE80211_FC0_TYPE_MASK) != IEEE80211_FC0_TYPE_DATA) { /* Get lowest rate */ rate = otus_rate_to_hw_rate(sc, 0); } else { |
