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)
commiteae4430ee7c5ea1152400cfc070f3746d41fa134
tree2b255b527f54b9116b2cf8bff47c3d518d4a9c82
parent3b17fbf87d5dadf123d328ab072334da285748c1
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