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)
commit3d6dc3431e944cf800637404167447f4badffdba
tree99faf03a01db2cf0e5a8d15da0f244decefcd384
parentc5309ba78742483514b8f7e447ebe56685894298
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