net80211: fix duplicate sequence number bump for non-AMPDU QoS frames.

This should be a part of r312972.

MFC after:	4 days
This commit is contained in:
Andriy Voskoboinyk 2018-12-30 03:03:53 +00:00
parent 450ffb7cb2
commit 18569211a1
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=342604

View File

@ -1698,7 +1698,6 @@ ieee80211_encap(struct ieee80211vap *vap, struct ieee80211_node *ni,
* capability; this may also change when we pull
* aggregation up into net80211
*/
seqno = ni->ni_txseqs[tid]++;
*(uint16_t *)wh->i_seq =
htole16(seqno << IEEE80211_SEQ_SEQ_SHIFT);
M_SEQNO_SET(m, seqno);