developer | 7af0f76 | 2023-05-22 15:16:16 +0800 | [diff] [blame^] | 1 | From 2247f39a4638afa622c21bb2b12f2d1744673a57 Mon Sep 17 00:00:00 2001 |
developer | 15c355d | 2023-03-21 17:28:34 +0800 | [diff] [blame] | 2 | From: StanleyYP Wang <StanleyYP.Wang@mediatek.com> |
| 3 | Date: Wed, 15 Mar 2023 17:41:16 +0800 |
developer | 7af0f76 | 2023-05-22 15:16:16 +0800 | [diff] [blame^] | 4 | Subject: [PATCH 1/6] wifi: mt76: mt7915: fix background radar event being |
developer | da18a74 | 2023-04-06 13:44:00 +0800 | [diff] [blame] | 5 | blocked |
developer | 15c355d | 2023-03-21 17:28:34 +0800 | [diff] [blame] | 6 | |
| 7 | Signed-off-by: StanleyYP Wang <StanleyYP.Wang@mediatek.com> |
| 8 | --- |
| 9 | mt7915/mcu.c | 2 +- |
| 10 | 1 file changed, 1 insertion(+), 1 deletion(-) |
| 11 | |
| 12 | diff --git a/mt7915/mcu.c b/mt7915/mcu.c |
developer | 7af0f76 | 2023-05-22 15:16:16 +0800 | [diff] [blame^] | 13 | index aa706ff..7d9c46b 100644 |
developer | 15c355d | 2023-03-21 17:28:34 +0800 | [diff] [blame] | 14 | --- a/mt7915/mcu.c |
| 15 | +++ b/mt7915/mcu.c |
developer | 7af0f76 | 2023-05-22 15:16:16 +0800 | [diff] [blame^] | 16 | @@ -277,7 +277,7 @@ mt7915_mcu_rx_radar_detected(struct mt7915_dev *dev, struct sk_buff *skb) |
developer | 15c355d | 2023-03-21 17:28:34 +0800 | [diff] [blame] | 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 | -- |
developer | 8effbd3 | 2023-04-17 15:57:28 +0800 | [diff] [blame] | 26 | 2.18.0 |
developer | 15c355d | 2023-03-21 17:28:34 +0800 | [diff] [blame] | 27 | |