Skip to content

Commit 983920e

Browse files
committed
wireless: xr829: add a workaround for receiving non-standard mesh A-MSDU
1 parent d626501 commit 983920e

File tree

1 file changed

+5
-0
lines changed
  • drivers/net/wireless/xr829/umac

1 file changed

+5
-0
lines changed

drivers/net/wireless/xr829/umac/rx.c

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
#include <linux/etherdevice.h>
1818
#include <linux/rcupdate.h>
1919
#include <linux/export.h>
20+
#include <linux/version.h>
2021
#include <net/mac80211_xr.h>
2122
#include <net/ieee80211_radiotap.h>
2223

@@ -2009,7 +2010,11 @@ ieee80211_rx_h_amsdu(struct ieee80211_rx_data *rx)
20092010
ieee80211_amsdu_to_8023s(skb, &frame_list, dev->dev_addr,
20102011
rx->sdata->vif.type,
20112012
rx->local->hw.extra_tx_headroom,
2013+
#if (LINUX_VERSION_CODE >= KERNEL_VERSION(6, 1, 107))
2014+
check_da, check_sa, 0);
2015+
#else
20122016
check_da, check_sa);
2017+
#endif
20132018

20142019
while (!skb_queue_empty(&frame_list)) {
20152020
rx->skb = __skb_dequeue(&frame_list);

0 commit comments

Comments
 (0)