iwlwifi: build mac80211 rx_status in place
authorJohannes Berg <johannes.berg@intel.com>
Wed, 12 Nov 2014 15:45:12 +0000 (16:45 +0100)
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Mon, 24 Nov 2014 06:30:16 +0000 (08:30 +0200)
commitd0963b5d31cabf98afba1599c73324ce036cd081
tree33509f04c3e75f6300632c6644e65f90674ae77d
parentba3943b094434ac8e2074bd159c2734e8cc47511
iwlwifi: build mac80211 rx_status in place

Instead of building the rx_status on the stack and then
copying it to the skb, allocate the skb a bit earlier
and then build the rx_status in place.

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