blob: 9b631d2935d8c093beac0bac5fba0a4a3b5dec31 [file] [log] [blame]
developer51e40422023-03-21 17:28:34 +08001From 3703ee49869a0efdd963d7994ec6e9d831b6d7b9 Mon Sep 17 00:00:00 2001
2From: StanleyYP Wang <StanleyYP.Wang@mediatek.com>
3Date: Wed, 15 Mar 2023 17:41:16 +0800
4Subject: [PATCH] mt76: mt7915: fix background radar event being blocked
5
6Signed-off-by: StanleyYP Wang <StanleyYP.Wang@mediatek.com>
7---
8 mt7915/mcu.c | 2 +-
9 1 file changed, 1 insertion(+), 1 deletion(-)
10
11diff --git a/mt7915/mcu.c b/mt7915/mcu.c
12index d08907f..dc24a47 100644
13--- a/mt7915/mcu.c
14+++ b/mt7915/mcu.c
15@@ -274,7 +274,7 @@ mt7915_mcu_rx_radar_detected(struct mt7915_dev *dev, struct sk_buff *skb)
16
17 r = (struct mt7915_mcu_rdd_report *)skb->data;
18
19- if (r->band_idx > MT_BAND1)
20+ if (r->band_idx > MT_RX_SEL2)
21 return;
22
23 if ((r->band_idx && !dev->phy.mt76->band_idx) &&
24--
252.18.0
26