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;
_______________________________________________
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to