blob: 5b27fbc8f8e4b026a1f7ad532667bfae90ebbc87 [file] [log] [blame]
developer05f3b2b2024-08-19 19:17:34 +08001From ae1bd00dbac3464137f2f595b935babc3bea0137 Mon Sep 17 00:00:00 2001
2From: Shayne Chen <shayne.chen@mediatek.com>
3Date: Wed, 31 Jul 2024 11:19:53 +0800
4Subject: [PATCH 191/199] mtk: mt76: sync with upstream changes
5
6Signed-off-by: Shayne Chen <shayne.chen@mediatek.com>
7---
8 mt7996/main.c | 2 +-
9 mt7996/mcu.c | 2 +-
10 2 files changed, 2 insertions(+), 2 deletions(-)
11
12diff --git a/mt7996/main.c b/mt7996/main.c
13index 4b48a870..59353603 100644
14--- a/mt7996/main.c
15+++ b/mt7996/main.c
16@@ -153,7 +153,7 @@ static int mt7996_start(struct ieee80211_hw *hw)
17 return ret;
18 }
19
20-static void mt7996_stop(struct ieee80211_hw *hw)
21+static void mt7996_stop(struct ieee80211_hw *hw, bool suspend)
22 {
23 struct mt7996_dev *dev = mt7996_hw_dev(hw);
24 int band;
25diff --git a/mt7996/mcu.c b/mt7996/mcu.c
26index 0439157c..03c671f6 100644
27--- a/mt7996/mcu.c
28+++ b/mt7996/mcu.c
29@@ -421,7 +421,7 @@ mt7996_mcu_rx_radar_detected(struct mt7996_dev *dev, struct sk_buff *skb)
30 &dev->rdd2_chandef,
31 GFP_ATOMIC);
32 } else {
33- ieee80211_radar_detected(mphy->hw);
34+ ieee80211_radar_detected(mphy->hw, NULL);
35 }
36 dev->hw_pattern++;
37 }
38--
392.18.0
40