mac80211: fix network header location when adding encryption headers
authorArik Nemtsov <arik@wizery.com>
Thu, 10 May 2012 10:21:09 +0000 (13:21 +0300)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 16 May 2012 16:47:43 +0000 (12:47 -0400)
commit7863157d83763a0f1b9ad96c94a1ed3d0372526a
tree05b5802a68f5c945abf3c2c8a105ed6a1a01741a
parentac55d2fe0576d272c4a98ed9dfb87b1cca29486e
mac80211: fix network header location when adding encryption headers

Update the location of the network header when adding encryption
specific headers to a skb. This allows low-level drivers to use the
(now correct) location of the network header.

Signed-off-by: Arik Nemtsov <arik@wizery.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/wep.c
net/mac80211/wpa.c