Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp2962855ybl; Sun, 2 Feb 2020 10:52:46 -0800 (PST) X-Google-Smtp-Source: APXvYqyq+5jQ6ODTyZmH4pqLYlaZJZ8v/AGetoAtY32AUHCpnCnMtRFGJDEdjU2V8QHYZDvWOCOG X-Received: by 2002:aca:1903:: with SMTP id l3mr12535294oii.16.1580669566376; Sun, 02 Feb 2020 10:52:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1580669566; cv=none; d=google.com; s=arc-20160816; b=Y631Sxgrsoxc7XWOPUCs3gzwSpNBrAcVdSwbDwoge/gEwtRqDoEAY8ljER/A9WWaTb msfG3X9etK5oQm826Iah+J/t7UJ7RXw5aHtGGR475JJtyr5c6lp9T1w+zDAg2eJVGrRo kK0uHq2DJ4VosZeAGH0CfMdGH61bM4Qsz6QV3j92fg2ns2/9qlSBtrG5ex/qI1nksNoh GVLBWBm6X8P48q3DxaXen/hKoJhm77ImRJ+6uEzNjybSj3s0kWyU9546Gku2wcC0YzJY sSSZu8GnIQ08sNT31eP5mDYX+AbQj8JzA0J1sq+Dlw2pqpfhVkzFo6jjkjRhXpgxsKxO Zveg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:to:from:dkim-signature; bh=kMKV5qQfG2CPD4UECf2ZBo0z22WHo/dEbZn4eXpk0a4=; b=Uvgfi+FNGh7uD8X7teoXNpl7Vy1PVCKwTTop9PfAlekK7sfFAO/8NwRPHukgj5LoCT xWGhtOq6cWHKzt1g13N3ENfAhi8lwkjo8W3zEO99neHlAoaugKm6kpsI4JgridaUrQyj JClBeVoQXYVrx/8I1JZReS48PpyK89lItk2W5YVqiVLG0gNE5VaTsSXbxjA/JzdhX4jL 6wE9PgAp2sxFqkkDHlhFSfuTesVN1ClRdk4fg+jyt8i4Yf+krV5JeA73Izbtph+d0KkK +9kTmpszNq//VkdieLs5vEofA6tW2znc9zAqlUuM8AG4jLL2MCWqIzdOCILQd4W/NQVM D1fw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@nbd.name header.s=20160729 header.b=A+D6bU28; spf=pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m12si6723142oim.195.2020.02.02.10.52.12; Sun, 02 Feb 2020 10:52:46 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@nbd.name header.s=20160729 header.b=A+D6bU28; spf=pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726912AbgBBSwL (ORCPT + 99 others); Sun, 2 Feb 2020 13:52:11 -0500 Received: from nbd.name ([46.4.11.11]:35596 "EHLO nbd.name" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726893AbgBBSwK (ORCPT ); Sun, 2 Feb 2020 13:52:10 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=nbd.name; s=20160729; h=Content-Transfer-Encoding:MIME-Version:Message-Id:Date:Subject :To:From:Sender:Reply-To:Cc:Content-Type:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: In-Reply-To:References:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=kMKV5qQfG2CPD4UECf2ZBo0z22WHo/dEbZn4eXpk0a4=; b=A+D6bU28Q/3a65k0hg45z+eBhe TnOK0ToT/vO94TBZ4VF493z4DaR8/oY4Qr93yKSIw6Z1qTPejBr2H/3I7lOG8sU6BwFEg9hWNaIuE SzlDnV58n21phbDqsYqX6c7fNIG4a9PbkvGiupSOgWyVpSEkTZuNbt379ztQqTXYTQ4k=; Received: from [81.95.5.35] (helo=maeck.local) by ds12 with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iyKLp-0003HZ-HZ for linux-wireless@vger.kernel.org; Sun, 02 Feb 2020 19:52:09 +0100 Received: by maeck.local (Postfix, from userid 501) id 0D7B07B1886E; Sun, 2 Feb 2020 19:52:08 +0100 (CET) From: Felix Fietkau To: linux-wireless@vger.kernel.org Subject: [PATCH 1/2] mt76: mt7615: fix adding active monitor interfaces Date: Sun, 2 Feb 2020 19:52:07 +0100 Message-Id: <20200202185208.28026-1-nbd@nbd.name> X-Mailer: git-send-email 2.24.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org 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 fb4a8913f6b6..20184f6ffc62 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.24.0