mac80211: minstrel_ht: add a small optimization to minstrel_aggr_check
authorFelix Fietkau <nbd@openwrt.org>
Sat, 15 Nov 2014 23:27:55 +0000 (00:27 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 19 Nov 2014 18:31:07 +0000 (19:31 +0100)
commit75769c80e381653994293b5aa5a8cfec50088f9f
treedc13428680bc0c10862153e53b17bcf0eb2b8aa9
parentf815e2b3c0126c26911cac72b837f03a31c0c2ed
mac80211: minstrel_ht: add a small optimization to minstrel_aggr_check

Check the queue mapping earlier, skb->queue_mapping is more likely than
skb->data to still be in d-cache.

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/rc80211_minstrel_ht.c