iwlwifi: mvm: don't hide HE radiotap data in SKB
authorJohannes Berg <johannes.berg@intel.com>
Mon, 10 Dec 2018 09:36:29 +0000 (10:36 +0100)
committerLuca Coelho <luciano.coelho@intel.com>
Mon, 4 Feb 2019 10:28:07 +0000 (12:28 +0200)
commit3619b088a87905a28d51b10172ff1e923c692cd7
tree7262e41dcf5bf57522ffc6917f1433c387db13d6
parent32a378539a37428903637904a815e79eecd5b8be
iwlwifi: mvm: don't hide HE radiotap data in SKB

Hiding the HE radiotap data for further processing of the SKB just
caused another bug when adding the L-SIG data. Simply stop doing
this and adjust the skb->data pointer accordingly when we need to
get the 802.11 header.

While at it, also verify and fix the data alignment, we need to add
2 bytes padding with the vendor data to ensure the whole length of
all radiotap headers is a multiple of 4.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Fixes: 6721039d5b8a ("iwlwifi: mvm: add L-SIG length to radiotap")
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c