Skip to content
Commit 3f7a9d57 authored by Mordechay Goodstein's avatar Mordechay Goodstein Committed by Gregory Greenman
Browse files

wifi: iwlwifi: mvm: simplify by using SKB MAC header pointer



Instead of calculating the offset to the 802.11 header based on radiotap
bits and length, shorten the code path by always setting the MAC header
in the skb and using skb_mac_header().

Signed-off-by: default avatarMordechay Goodstein <mordechay.goodstein@intel.com>
Link: https://lore.kernel.org/r/20230127002430.3ec5493934a4.I1d41a2af28588b5899fcd2402f8c4bd8cc29a12e@changeid
Signed-off-by: default avatarGregory Greenman <gregory.greenman@intel.com>
parent 0ac93c06
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment