Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp974548pxb; Tue, 14 Sep 2021 13:01:51 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwmWfJuC1J6BFVrb3r+HZ4hd9snDi5J19mcZDTdL5JMV/tU06R+U7LnyLBeGCkf5o3wUcuP X-Received: by 2002:a5e:8d04:: with SMTP id m4mr15234385ioj.149.1631649711193; Tue, 14 Sep 2021 13:01:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631649711; cv=none; d=google.com; s=arc-20160816; b=VDlAhZlp+eHJKlfz+ZHlBsKG1ug1gl5fxfvxGH2hOwwKPV3v0W4KepmFGyA34NuREL rPPFuLqRyt05jnXku8G7dskSaFUrxnEgF1UpFIeCtKmkBBoMOL8JITp10u3Tarou1/1t SKlrqeBcRmdKxB3EbcJZy9cgOPeo7y+zuAtNr0dcqFFNcsU7JOz8EM+qz3JOG0cVrejN K/oIHVhZoSYMqAsbdjdzcWj+aYxIQsOoEcTqh3O7H/TQd9Ug9c48P+5RB3iyleP1pC9S whUHIHCYg2uBW+w+LsmRY9gmRbanUv/SANb4HFVflTaZfQehP63i2Em+1/h3slS6tJWI yOCw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=PYr2YuS0vEL2mXCmINRwoW8wZw5oxqdh1dvx5BEwHGA=; b=y3W5FuhQ2NFCp6rJQT7uD69NGF3rfz/pqiYwZHChtHk09PIaAvpDo5o5iT8oEy3eID B2Z6onl7umdu+vNuQGLWCp95l36e5+r6qNFl86nnvozTX7KO5HUVQfcadYg1KIgTxZ5z qvgoMwdqxR/Zj5PpEb7UqvjvXGHz7NfdvU4nyym0rnh98UiMrNVQoXsEF1igKwr1zMFe LVOFkpqJh4cQVBaD5FvcrNMkW3sfMLPcIx8dDJCakukK2zKL8+7Bx+pRAKH5dzqa73Ms l/8aJ2MRVkfnJEc5/d4XvQAapqqCIB2xTIeG/Ql9z77iQH9JrB7xzHsUIqlZeuLzrLoz /VFw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id l5si10375807ioa.54.2021.09.14.13.01.40; Tue, 14 Sep 2021 13:01:51 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233437AbhINUBK (ORCPT + 99 others); Tue, 14 Sep 2021 16:01:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60456 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233809AbhINUBC (ORCPT ); Tue, 14 Sep 2021 16:01:02 -0400 Received: from mout-p-101.mailbox.org (mout-p-101.mailbox.org [IPv6:2001:67c:2050::465:101]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EDE68C0613E1; Tue, 14 Sep 2021 12:59:43 -0700 (PDT) Received: from smtp1.mailbox.org (smtp1.mailbox.org [80.241.60.240]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-101.mailbox.org (Postfix) with ESMTPS id 4H8DhZ4cQgzQkBj; Tue, 14 Sep 2021 21:59:42 +0200 (CEST) X-Virus-Scanned: amavisd-new at heinlein-support.de From: =?UTF-8?q?Jonas=20Dre=C3=9Fler?= To: Amitkumar Karwar , Ganapathi Bhat , Sharvari Harisangam , Xinming Hu , Kalle Valo , "David S. Miller" , Jakub Kicinski Cc: =?UTF-8?q?Jonas=20Dre=C3=9Fler?= , Tsuchiya Yuto , linux-wireless@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Maximilian Luz , Andy Shevchenko , =?UTF-8?q?Pali=20Roh=C3=A1r?= Subject: [PATCH 7/9] mwifiex: Handle interface type changes from AP to STATION Date: Tue, 14 Sep 2021 21:59:07 +0200 Message-Id: <20210914195909.36035-8-verdre@v0yd.nl> In-Reply-To: <20210914195909.36035-1-verdre@v0yd.nl> References: <20210914195909.36035-1-verdre@v0yd.nl> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: A96D31899 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Looks like this case was simply overseen, so handle it, too. Signed-off-by: Jonas Dreßler --- drivers/net/wireless/marvell/mwifiex/cfg80211.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/wireless/marvell/mwifiex/cfg80211.c b/drivers/net/wireless/marvell/mwifiex/cfg80211.c index ed4041ff9c89..64caa5c4350d 100644 --- a/drivers/net/wireless/marvell/mwifiex/cfg80211.c +++ b/drivers/net/wireless/marvell/mwifiex/cfg80211.c @@ -1268,6 +1268,7 @@ mwifiex_cfg80211_change_virtual_intf(struct wiphy *wiphy, case NL80211_IFTYPE_AP: switch (type) { case NL80211_IFTYPE_ADHOC: + case NL80211_IFTYPE_STATION: return mwifiex_change_vif_to_sta_adhoc(dev, curr_iftype, type, params); break; -- 2.31.1