mac80211: remove skb header offset mangling in ieee80211_build_hdr
authorFelix Fietkau <nbd@nbd.name>
Wed, 13 Jul 2016 09:00:02 +0000 (11:00 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Thu, 11 Aug 2016 14:51:41 +0000 (16:51 +0200)
commit5c98ac15dbf3211132ef13392cf3a18139d26291
tree2b255b527f54b9116b2cf8bff47c3d518d4a9c82
parent6b9a6eaca153265841bd1f98a1994e0f05b540cf
mac80211: remove skb header offset mangling in ieee80211_build_hdr

Since the code only touches the MAC headers, the offsets to the
network/transport headers remain the same throughout this function.
Remove pointless pieces of code that try to 'preserve' them.

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