blob: 5179acf880a8e686ad145f46b3351f24107a0531 [file] [log] [blame]
developerfd901d92024-04-29 17:16:53 +08001From 74b58da2fc1d7f264300417939702f068d8c4f27 Mon Sep 17 00:00:00 2001
2From: Shayne Chen <shayne.chen@mediatek.com>
3Date: Mon, 29 Apr 2024 15:59:44 +0800
4Subject: [PATCH] fixup! wifi: mt76: mt7996: temp support for single wiphy
5
6Change-Id: Idb4d417064826dedca6b64873d0d1a7dc6525c0b
7---
8 mt7996/main.c | 3 +--
9 1 file changed, 1 insertion(+), 2 deletions(-)
10
11diff --git a/mt7996/main.c b/mt7996/main.c
12index ea230921..57786413 100644
13--- a/mt7996/main.c
14+++ b/mt7996/main.c
15@@ -466,8 +466,7 @@ static int mt7996_add_interface(struct ieee80211_hw *hw,
16 /* TODO: temporaily set this to prevent some crashes */
17 mvif->deflink.phy = phy;
18
19- if (vif->type == NL80211_IFTYPE_STATION)
20- ret = mt7996_add_bss_conf(phy, vif, &vif->bss_conf);
21+ ret = mt7996_add_bss_conf(phy, vif, &vif->bss_conf);
22 mutex_unlock(&dev->mt76.mutex);
23
24 return ret;
25--
262.18.0
27