iwlagn: don't assign seqno to QoS Null frames
authorJohannes Berg <johannes.berg@intel.com>
Mon, 10 Oct 2011 14:26:53 +0000 (07:26 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 14 Oct 2011 18:48:09 +0000 (14:48 -0400)
commit164ae97eb5be612b58b2b1b395bb8287f555c661
tree97ee44232cf46bc47ab4a5ea0ca0f7f3f3da8223
parent3bde2b68cfdeb3b68284172fa7759287a63cd981
iwlagn: don't assign seqno to QoS Null frames

802.11 says:
"Sequence numbers for QoS (+)Null frames may be
set to any value."

However, if we use the normal counters then peers
will get confused with aggregation since there'll
be holes in the sequence number sequence.

To avoid that, don't assign sequence numbers to
QoS Null frames.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Wey-Yi GUy <wey-yi.w.guy@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/iwlwifi/iwl-trans-pcie.c