From c5502b89ee68da9992160cf2c5111d8b660e8698 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Sun, 2 Feb 2020 16:12:49 +0100 Subject: [PATCH] mt76: mt7615: fix adding active monitor interfaces Treat them the same as AP iftype internally for MCU commands Signed-off-by: Felix Fietkau --- drivers/net/wireless/mediatek/mt76/mt7615/main.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/wireless/mediatek/mt76/mt7615/main.c b/drivers/net/wireless/mediatek/mt76/mt7615/main.c index 5df9521a654fa..f1321fc2f3627 100644 --- a/drivers/net/wireless/mediatek/mt76/mt7615/main.c +++ b/drivers/net/wireless/mediatek/mt76/mt7615/main.c @@ -97,6 +97,7 @@ static int get_omac_idx(enum nl80211_iftype type, u32 mask) int i; switch (type) { + case NL80211_IFTYPE_MONITOR: case NL80211_IFTYPE_AP: case NL80211_IFTYPE_MESH_POINT: case NL80211_IFTYPE_ADHOC: -- 2.30.2