| From 3703ee49869a0efdd963d7994ec6e9d831b6d7b9 Mon Sep 17 00:00:00 2001 |
| From: StanleyYP Wang <StanleyYP.Wang@mediatek.com> |
| Date: Wed, 15 Mar 2023 17:41:16 +0800 |
| Subject: [PATCH] mt76: mt7915: fix background radar event being blocked |
| |
| Signed-off-by: StanleyYP Wang <StanleyYP.Wang@mediatek.com> |
| --- |
| mt7915/mcu.c | 2 +- |
| 1 file changed, 1 insertion(+), 1 deletion(-) |
| |
| diff --git a/mt7915/mcu.c b/mt7915/mcu.c |
| index d08907f..dc24a47 100644 |
| --- a/mt7915/mcu.c |
| +++ b/mt7915/mcu.c |
| @@ -274,7 +274,7 @@ mt7915_mcu_rx_radar_detected(struct mt7915_dev *dev, struct sk_buff *skb) |
| |
| r = (struct mt7915_mcu_rdd_report *)skb->data; |
| |
| - if (r->band_idx > MT_BAND1) |
| + if (r->band_idx > MT_RX_SEL2) |
| return; |
| |
| if ((r->band_idx && !dev->phy.mt76->band_idx) && |
| -- |
| 2.18.0 |
| |