mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-12-26 21:13:11 +01:00
rtwn: drop obsolete (since r319460) code.
Tested with RTL8188EU, STA mode.
This commit is contained in:
parent
f1a35c16b3
commit
5acae76adf
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=319476
@ -331,8 +331,6 @@ r92c_fill_tx_desc(struct rtwn_softc *sc, struct ieee80211_node *ni,
|
||||
|
||||
if (m->m_flags & M_AMPDU_MPDU) {
|
||||
seqno = ni->ni_txseqs[tid];
|
||||
/* NB: clear Fragment Number field. */
|
||||
*(uint16_t *)wh->i_seq = 0;
|
||||
ni->ni_txseqs[tid]++;
|
||||
} else
|
||||
seqno = M_SEQNO_GET(m) % IEEE80211_SEQ_RANGE;
|
||||
|
@ -338,8 +338,6 @@ r12a_fill_tx_desc(struct rtwn_softc *sc, struct ieee80211_node *ni,
|
||||
|
||||
if (m->m_flags & M_AMPDU_MPDU) {
|
||||
seqno = ni->ni_txseqs[tid];
|
||||
/* NB: clear Fragment Number field. */
|
||||
*(uint16_t *)wh->i_seq = 0;
|
||||
ni->ni_txseqs[tid]++;
|
||||
} else
|
||||
seqno = M_SEQNO_GET(m) % IEEE80211_SEQ_RANGE;
|
||||
|
Loading…
Reference in New Issue
Block a user