developer | 51e4042 | 2023-03-21 17:28:34 +0800 | [diff] [blame^] | 1 | From 3703ee49869a0efdd963d7994ec6e9d831b6d7b9 Mon Sep 17 00:00:00 2001 |
| 2 | From: StanleyYP Wang <StanleyYP.Wang@mediatek.com> |
| 3 | Date: Wed, 15 Mar 2023 17:41:16 +0800 |
| 4 | Subject: [PATCH] mt76: mt7915: fix background radar event being blocked |
| 5 | |
| 6 | Signed-off-by: StanleyYP Wang <StanleyYP.Wang@mediatek.com> |
| 7 | --- |
| 8 | mt7915/mcu.c | 2 +- |
| 9 | 1 file changed, 1 insertion(+), 1 deletion(-) |
| 10 | |
| 11 | diff --git a/mt7915/mcu.c b/mt7915/mcu.c |
| 12 | index 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 | -- |
| 25 | 2.18.0 |
| 26 | |