developer | fd901d9 | 2024-04-29 17:16:53 +0800 | [diff] [blame] | 1 | From 74b58da2fc1d7f264300417939702f068d8c4f27 Mon Sep 17 00:00:00 2001 |
| 2 | From: Shayne Chen <shayne.chen@mediatek.com> |
| 3 | Date: Mon, 29 Apr 2024 15:59:44 +0800 |
| 4 | Subject: [PATCH] fixup! wifi: mt76: mt7996: temp support for single wiphy |
| 5 | |
| 6 | Change-Id: Idb4d417064826dedca6b64873d0d1a7dc6525c0b |
| 7 | --- |
| 8 | mt7996/main.c | 3 +-- |
| 9 | 1 file changed, 1 insertion(+), 2 deletions(-) |
| 10 | |
| 11 | diff --git a/mt7996/main.c b/mt7996/main.c |
| 12 | index 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 | -- |
| 26 | 2.18.0 |
| 27 | |