svn commit: r319476 - in head/sys/dev/rtwn: rtl8192c rtl8812a
Andriy Voskoboinyk
avos at FreeBSD.org
Thu Jun 1 21:20:46 UTC 2017
Author: avos
Date: Thu Jun 1 21:20:44 2017
New Revision: 319476
URL: https://svnweb.freebsd.org/changeset/base/319476
Log:
rtwn: drop obsolete (since r319460) code.
Tested with RTL8188EU, STA mode.
Modified:
head/sys/dev/rtwn/rtl8192c/r92c_tx.c
head/sys/dev/rtwn/rtl8812a/r12a_tx.c
Modified: head/sys/dev/rtwn/rtl8192c/r92c_tx.c
==============================================================================
--- head/sys/dev/rtwn/rtl8192c/r92c_tx.c Thu Jun 1 21:07:32 2017 (r319475)
+++ head/sys/dev/rtwn/rtl8192c/r92c_tx.c Thu Jun 1 21:20:44 2017 (r319476)
@@ -331,8 +331,6 @@ r92c_fill_tx_desc(struct rtwn_softc *sc, struct ieee80
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;
Modified: head/sys/dev/rtwn/rtl8812a/r12a_tx.c
==============================================================================
--- head/sys/dev/rtwn/rtl8812a/r12a_tx.c Thu Jun 1 21:07:32 2017 (r319475)
+++ head/sys/dev/rtwn/rtl8812a/r12a_tx.c Thu Jun 1 21:20:44 2017 (r319476)
@@ -338,8 +338,6 @@ r12a_fill_tx_desc(struct rtwn_softc *sc, struct ieee80
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;
More information about the svn-src-all
mailing list