blob: dbe9096b5ca7b99ef903cf64099580bf4cb81e83 [file] [log] [blame]
developerc9233442023-04-04 06:06:17 +08001From 428ade1830a5991976cbfe86b0bc57f1492febba Mon Sep 17 00:00:00 2001
developerfde3e372023-03-15 17:59:27 +08002From: StanleyYP Wang <StanleyYP.Wang@mediatek.com>
3Date: Wed, 15 Mar 2023 17:41:16 +0800
developerc9233442023-04-04 06:06:17 +08004Subject: [PATCH 1/2] wifi: mt76: mt7915: fix background radar event being
5 blocked
developerfde3e372023-03-15 17:59:27 +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
developerc9233442023-04-04 06:06:17 +080013index d08907f5..dc24a475 100644
developerfde3e372023-03-15 17:59:27 +080014--- a/mt7915/mcu.c
15+++ b/mt7915/mcu.c
16@@ -274,7 +274,7 @@ mt7915_mcu_rx_radar_detected(struct mt7915_dev *dev, struct sk_buff *skb)
17
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--
developerc9233442023-04-04 06:06:17 +0800262.39.0
developerfde3e372023-03-15 17:59:27 +080027