iwlwifi: mvm: pull crypto header into skb->head
authorJohannes Berg <johannes.berg@intel.com>
Wed, 12 Nov 2014 16:12:05 +0000 (17:12 +0100)
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Mon, 24 Nov 2014 06:30:17 +0000 (08:30 +0200)
commiteb96ccb138fccdedd76c773e476e4a6ce4b3c05c
treeacf40978d95ca13d50801f56d1378ce58cea4ee8
parentd0963b5d31cabf98afba1599c73324ce036cd081
iwlwifi: mvm: pull crypto header into skb->head

When we pre-populate the skb->head for the stack, we only pull
in the 802.11 header (assuming the packet isn't short enough to
be in there completely.) This is fine, but in many cases we'll
pull in the crypto headers pretty much immediately afterwards,
so to avoid that pull in the crypto header early.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Reviewed-by: IdoX Yariv <ido@wizery.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
drivers/net/wireless/iwlwifi/mvm/rx.c