blob: b40ba170f3bf22010589e5ad5d73e3e08414fb09 [file] [log] [blame]
developer7af0f762023-05-22 15:16:16 +08001From 2247f39a4638afa622c21bb2b12f2d1744673a57 Mon Sep 17 00:00:00 2001
developer15c355d2023-03-21 17:28:34 +08002From: StanleyYP Wang <StanleyYP.Wang@mediatek.com>
3Date: Wed, 15 Mar 2023 17:41:16 +0800
developer7af0f762023-05-22 15:16:16 +08004Subject: [PATCH 1/6] wifi: mt76: mt7915: fix background radar event being
developerda18a742023-04-06 13:44:00 +08005 blocked
developer15c355d2023-03-21 17:28:34 +08006
7Signed-off-by: StanleyYP Wang <StanleyYP.Wang@mediatek.com>
8---
9 mt7915/mcu.c | 2 +-
10 1 file changed, 1 insertion(+), 1 deletion(-)
11
12diff --git a/mt7915/mcu.c b/mt7915/mcu.c
developer7af0f762023-05-22 15:16:16 +080013index aa706ff..7d9c46b 100644
developer15c355d2023-03-21 17:28:34 +080014--- a/mt7915/mcu.c
15+++ b/mt7915/mcu.c
developer7af0f762023-05-22 15:16:16 +080016@@ -277,7 +277,7 @@ mt7915_mcu_rx_radar_detected(struct mt7915_dev *dev, struct sk_buff *skb)
developer15c355d2023-03-21 17:28:34 +080017
18 r = (struct mt7915_mcu_rdd_report *)skb->data;
19
20- if (r->band_idx > MT_BAND1)
21+ if (r->band_idx > MT_RX_SEL2)
22 return;
23
24 if ((r->band_idx && !dev->phy.mt76->band_idx) &&
25--
developer8effbd32023-04-17 15:57:28 +0800262.18.0
developer15c355d2023-03-21 17:28:34 +080027