mac80211: fix network header breakage during encryption
authorArik Nemtsov <arik@wizery.com>
Wed, 22 Oct 2014 09:33:45 +0000 (12:33 +0300)
committerJohannes Berg <johannes.berg@intel.com>
Thu, 23 Oct 2014 18:40:01 +0000 (20:40 +0200)
When an IV is generated, only the MAC header is moved back. The network
header location remains the same relative to the skb head, as the new IV
is using headroom space that was reserved in advance.

Signed-off-by: Arik Nemtsov <arikx.nemtsov@intel.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/wep.c
net/mac80211/wpa.c

Simple merge
Simple merge