Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp1023554ybe; Wed, 4 Sep 2019 11:17:56 -0700 (PDT) X-Google-Smtp-Source: APXvYqx7REjZI2Y3PTjHJ1oBNe374FIuXRfz+xkzF0Qu62Awc19LV/Ig6eW5wZcZsk8jciMKDS4B X-Received: by 2002:a63:db47:: with SMTP id x7mr36267567pgi.375.1567621076404; Wed, 04 Sep 2019 11:17:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1567621076; cv=none; d=google.com; s=arc-20160816; b=k3BOJtw7MGqTXXMo5+O4ZVWpOADWSUrxuj/HgOK66Zo9S6g5shck3ZteRJ6xvO5seg r6SxAAfTw+TabeA7GR35C7JZDMGRBzGgtnI3G6c+Q/EWwNi9hwDGO72z4nXk05BOjwAo f+KTG8ptiPg/IASB6EOLc9dF4vsvuzRPMsZkVtYAbF3aYsHkA6N5enh7uUwLlZIzKUeM CNpfHZ/9CUwV5bw2/q/ysYCX0ZbIBcOoAAoMQjfRZNdJh6UgoLJRzoVtlYJ3S7JKSffa km1nUwbT8JXCuNiU48seugNmePcdsXpiIJgRoX/Rp99NpDArre/RS69f1vHzLhNSRatE TJMQ== 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 :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=L4289QCoT0W2nAzE2JJCZsPmjB2SADIvNx7lUApz5Pg=; b=eCJyIMSTaRS8QlXzaLerM0HNMfYCkqISYXkLXHbNpDxbUx3c2j6UxtPzj1RX5CjZRP CwYj3GhgkC8eZiH38edJZxyHCSurZjtGW2rz0NY31HnIHK4sexlPpgeYVdCj+8o5MKg+ YyiHDs0HuJ/iI51SwvsnKFUG/s5GELJjJAgodbh7sUztB16gH2wr/uMvcRlnCXocff8n Okp7VJvg3wBYRcVuZYF7jq5UGiliZQXnX4nAxtH+eI8dxu8Esti4b9Vj4+qutBho5UTa sXXJoAdWkDAWu/MKHkv7S5VRYtLfZ1UGDKbl8weAJLqPX99ObwlKYoZSvxnn16PG3IQv V2fA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=ua6DApwh; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-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 i67si20305903pfe.129.2019.09.04.11.17.41; Wed, 04 Sep 2019 11:17:56 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=ua6DApwh; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2390918AbfIDSPE (ORCPT + 99 others); Wed, 4 Sep 2019 14:15:04 -0400 Received: from mail.kernel.org ([198.145.29.99]:60552 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2390892AbfIDSPD (ORCPT ); Wed, 4 Sep 2019 14:15:03 -0400 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id D34382339E; Wed, 4 Sep 2019 18:15:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1567620902; bh=ymm/7I0fTfk/VBG1Jrb4p22YfL6x5dPwDCsvpZ16V1Y=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ua6DApwhrRxhSunnPvETl+zp7U4oImlFKwa/nmE1MqvcvX/5itBzjko4RmC4X6Hf4 0imMqTn0ohFqFMFK8QKqHZxFObclSZsSSXM85H/6F/Q3m+lzXZwL7F1rluk2qoOLUT 5jWsZ96bsyinSDBHFHCtK+Y6XHqPHCZGhrKsLudw= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Luca Coelho , Kalle Valo , Sasha Levin Subject: [PATCH 5.2 137/143] iwlwifi: pcie: dont switch FW to qnj when ax201 is detected Date: Wed, 4 Sep 2019 19:54:40 +0200 Message-Id: <20190904175319.782005031@linuxfoundation.org> X-Mailer: git-send-email 2.23.0 In-Reply-To: <20190904175314.206239922@linuxfoundation.org> References: <20190904175314.206239922@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org [ Upstream commit 17e40e6979aaf60f356331bac129df20e1fd74a0 ] We have a too generic condition that switches from Qu configurations to QnJ configurations. We need to exclude some configurations so that they are not erroneously switched. Add the ax201 configuration to the list of exclusions. Signed-off-by: Luca Coelho Signed-off-by: Kalle Valo Signed-off-by: Sasha Levin --- drivers/net/wireless/intel/iwlwifi/pcie/trans.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/wireless/intel/iwlwifi/pcie/trans.c b/drivers/net/wireless/intel/iwlwifi/pcie/trans.c index 38ab24d962446..5209e8c3643eb 100644 --- a/drivers/net/wireless/intel/iwlwifi/pcie/trans.c +++ b/drivers/net/wireless/intel/iwlwifi/pcie/trans.c @@ -3601,6 +3601,7 @@ struct iwl_trans *iwl_trans_pcie_alloc(struct pci_dev *pdev, } else if (CSR_HW_RF_ID_TYPE_CHIP_ID(trans->hw_rf_id) == CSR_HW_RF_ID_TYPE_CHIP_ID(CSR_HW_RF_ID_TYPE_HR) && ((trans->cfg != &iwl_ax200_cfg_cc && + trans->cfg != &iwl_ax201_cfg_qu_hr && trans->cfg != &killer1650x_2ax_cfg && trans->cfg != &killer1650w_2ax_cfg && trans->cfg != &iwl_ax201_cfg_quz_hr) || -- 2.20.1