]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: fix per-TID RX-MSDU counter
authorJohannes Berg <johannes.berg@intel.com>
Fri, 23 Jan 2015 12:23:48 +0000 (13:23 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 23 Jan 2015 12:26:25 +0000 (13:26 +0100)
commit7eebdfb09e8aec82888d215ea1378ca7ebfed20b
tree99faf03a01db2cf0e5a8d15da0f244decefcd384
parentbd73061b859dca43ead0aa3f71c435e7f7d8f347
mac80211: fix per-TID RX-MSDU counter

In the case of non-QoS association, the counter was actually
wrong. The right index isn't security_idx but seqno_idx, as
security_idx will be 0 for data frames, while 16 is needed.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/rx.c