Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp997463yba; Thu, 4 Apr 2019 02:03:56 -0700 (PDT) X-Google-Smtp-Source: APXvYqwxPhlu6D8BTP/mYs2TpXeCCxdOSF8j48GrMzVeHnlS4St7bAkiddD/8FnR71l7azFXRP6m X-Received: by 2002:a62:ee17:: with SMTP id e23mr4675679pfi.80.1554368636801; Thu, 04 Apr 2019 02:03:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1554368636; cv=none; d=google.com; s=arc-20160816; b=aRdzjWepSLzTVZcPyb/AC3JAXeYKZwHI8YA/FNN2tg6EIP57VQZaRC+2TZAGIqcDYv 1gdoPgwgdnHGmsfmg1qjSVpNwnMCZhuDTsA2YlIGoSHHhOaXhv5HKWkB1WP/N7iHHE9v yhcbG2c7p9izK6XZoS5T7chBPDyQhLLrK6ru//8B6CuwB71S+Tx7kI7PIPcNcHXtHqvQ L+rpmX8HoFcWlwF929DfzwpF4y0k9sNv8hTP6TIjRIQBX4Am0ieAtCWqxUjnpAaSDCni b+zr8Q5jErJOSTN3SZHro+zVOPP/FmLgDToj5SvezgM8eAa+g131zmBigkONImO21Jez XgOA== 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=QowEN+kwtlfuVmWpxrv7bbPyPcnDDCWRAEcRQ2AUhko=; b=AY1lmUClsf959kJQetpa4ezCIhMtPcsR7K4cA46+eVr4dJzf3hHNq7rQWx5IhSLQ5A Fm7DjPTeqWe7GD1BzweoRw/QcuhSmGyUpBiMk+xubFqGSUeIHr+aEr0QLUJXtkuIvSda ow0U9q4d5Y8uE36KF8brn15ibQmVXaj0OBmUsa6G99d1ynqfnuBKWhUkR8Vp0b0CP0Ud d4BmhtppwFRM2LpywhTiMQYaxlrlgsbGkIFedg452gEToRDM/RF7MmBnTUmqFKCdlZhr /SNQ/vMrCl5GpmK8xQrkZombPXuGeUiKWQ+8CA7lXAAq1iDUzl5hNj9wDDGx4FSvnkVg f2Rw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=UuBTu8Ie; 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 s2si8035598plr.110.2019.04.04.02.03.41; Thu, 04 Apr 2019 02:03: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=UuBTu8Ie; 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 S1731513AbfDDJB4 (ORCPT + 99 others); Thu, 4 Apr 2019 05:01:56 -0400 Received: from mail.kernel.org ([198.145.29.99]:39148 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730264AbfDDJBx (ORCPT ); Thu, 4 Apr 2019 05:01:53 -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 B1A3A21741; Thu, 4 Apr 2019 09:01:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1554368513; bh=U/ISEtmAbFDSWDBOws/rt17KURHFkUzg6AxUwn+wHWQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=UuBTu8IeLDoJpv74emDbF3332G95ccewUokiXLtwSdzCNS6K4TGpv7cLhZRORSria MOIQKNYZ8Mv1kJynsjW2+qpRWDvF3nSCn+bQmaRF/KKHmxrsmOHPW4BfrLJiV5vzBD SZBaTu7gZk+leMfjNnXh77M87LcoiBHxMiRt1+XI= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Yang Fan , "Darren Hart (VMware)" , Sasha Levin Subject: [PATCH 4.19 067/187] platform/x86: ideapad-laptop: Fix no_hw_rfkill_list for Lenovo RESCUER R720-15IKBN Date: Thu, 4 Apr 2019 10:46:44 +0200 Message-Id: <20190404084606.209141037@linuxfoundation.org> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20190404084603.119654039@linuxfoundation.org> References: <20190404084603.119654039@linuxfoundation.org> User-Agent: quilt/0.65 X-stable: review X-Patchwork-Hint: ignore 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 4.19-stable review patch. If anyone has any objections, please let me know. ------------------ [ Upstream commit 4d9b2864a415fec39150bc13efc730c7eb88711e ] Commit ae7c8cba3221 ("platform/x86: ideapad-laptop: add lenovo RESCUER R720-15IKBN to no_hw_rfkill_list") added DMI_MATCH(DMI_BOARD_NAME, "80WW") for Lenovo RESCUER R720-15IKBN. But DMI_BOARD_NAME does not match 80WW on Lenovo RESCUER R720-15IKBN, thus cause Wireless LAN still be hard blocked. On Lenovo RESCUER R720-15IKBN: ~$ cat /sys/class/dmi/id/sys_vendor LENOVO ~$ cat /sys/class/dmi/id/board_name Provence-5R3 ~$ cat /sys/class/dmi/id/product_name 80WW ~$ cat /sys/class/dmi/id/product_version Lenovo R720-15IKBN So on Lenovo RESCUER R720-15IKBN: DMI_SYS_VENDOR should match "LENOVO", DMI_BOARD_NAME should match "Provence-5R3", DMI_PRODUCT_NAME should match "80WW", DMI_PRODUCT_VERSION should match "Lenovo R720-15IKBN". Fix it, and in according with other entries in no_hw_rfkill_list, use DMI_PRODUCT_VERSION instead of DMI_BOARD_NAME. Fixes: ae7c8cba3221 ("platform/x86: ideapad-laptop: add lenovo RESCUER R720-15IKBN to no_hw_rfkill_list") Signed-off-by: Yang Fan Signed-off-by: Darren Hart (VMware) Signed-off-by: Sasha Levin --- drivers/platform/x86/ideapad-laptop.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/platform/x86/ideapad-laptop.c b/drivers/platform/x86/ideapad-laptop.c index d4f1259ff5a2..62d4b94e2531 100644 --- a/drivers/platform/x86/ideapad-laptop.c +++ b/drivers/platform/x86/ideapad-laptop.c @@ -989,7 +989,7 @@ static const struct dmi_system_id no_hw_rfkill_list[] = { .ident = "Lenovo RESCUER R720-15IKBN", .matches = { DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"), - DMI_MATCH(DMI_BOARD_NAME, "80WW"), + DMI_MATCH(DMI_PRODUCT_VERSION, "Lenovo R720-15IKBN"), }, }, { -- 2.19.1