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:
avos 2018-12-30 03:03:53 +00:00
parent 0ede9ee67d
commit d01519ffa6

View File

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