summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--net/mac80211/rx.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/net/mac80211/rx.c b/net/mac80211/rx.c
index c90904ce6e99..b33d37186576 100644
--- a/net/mac80211/rx.c
+++ b/net/mac80211/rx.c
@@ -762,8 +762,12 @@ ieee80211_rx_monitor(struct ieee80211_local *local, struct sk_buff *origskb,
762 if (status->flag & RX_FLAG_RADIOTAP_HE_MU) 762 if (status->flag & RX_FLAG_RADIOTAP_HE_MU)
763 rtap_space += sizeof(struct ieee80211_radiotap_he_mu); 763 rtap_space += sizeof(struct ieee80211_radiotap_he_mu);
764 764
765 if (status->flag & RX_FLAG_RADIOTAP_LSIG)
766 rtap_space += sizeof(struct ieee80211_radiotap_lsig);
767
765 if (unlikely(status->flag & RX_FLAG_RADIOTAP_VENDOR_DATA)) { 768 if (unlikely(status->flag & RX_FLAG_RADIOTAP_VENDOR_DATA)) {
766 struct ieee80211_vendor_radiotap *rtap = (void *)origskb->data; 769 struct ieee80211_vendor_radiotap *rtap =
770 (void *)(origskb->data + rtap_space);
767 771
768 rtap_space += sizeof(*rtap) + rtap->len + rtap->pad; 772 rtap_space += sizeof(*rtap) + rtap->len + rtap->pad;
769 } 773 }