honor IEEE80211_C_TXFRAG; drivers should never get fragmented packets
unless they indicate they're able to handle them Approved by: re (blanket wireless)
This commit is contained in:
parent
bb239ce970
commit
37c8bda5fa
@ -852,6 +852,7 @@ ieee80211_encap(struct ieee80211com *ic, struct mbuf *m,
|
||||
/* check if xmit fragmentation is required */
|
||||
txfrag = (m->m_pkthdr.len > ic->ic_fragthreshold &&
|
||||
!IEEE80211_IS_MULTICAST(wh->i_addr1) &&
|
||||
(ic->ic_caps & IEEE80211_C_TXFRAG) &&
|
||||
!isff); /* NB: don't fragment ff's */
|
||||
if (key != NULL) {
|
||||
/*
|
||||
|
Loading…
x
Reference in New Issue
Block a user