a90fa69
From 14b627c610f93c2700f9a3825ac10c35d51acfe4 Mon Sep 17 00:00:00 2001
a90fa69
From: Josh Boyer <jwboyer@fedoraproject.org>
a90fa69
Date: Mon, 7 Dec 2015 13:50:38 -0500
a90fa69
Subject: [PATCH] ideapad-laptop: Add Lenovo ideapad Y700-17ISK to no_hw_rfkill
a90fa69
 dmi list
a90fa69
a90fa69
One of the newest ideapad models also lacks a physical hw rfkill switch,
a90fa69
and trying to read the hw rfkill switch through the ideapad module
a90fa69
causes it to always reported blocking breaking wifi.
a90fa69
a90fa69
Fix it by adding this model to the DMI list.
a90fa69
a90fa69
BugLink: https://bugzilla.redhat.com/show_bug.cgi?id=1286293
a90fa69
Cc: stable@vger.kernel.org
a90fa69
Signed-off-by: Josh Boyer <jwboyer@fedoraproject.org>
a90fa69
---
a90fa69
 drivers/platform/x86/ideapad-laptop.c | 7 +++++++
a90fa69
 1 file changed, 7 insertions(+)
a90fa69
a90fa69
diff --git a/drivers/platform/x86/ideapad-laptop.c b/drivers/platform/x86/ideapad-laptop.c
a90fa69
index a313dfc0245f..d28db0e793df 100644
a90fa69
--- a/drivers/platform/x86/ideapad-laptop.c
a90fa69
+++ b/drivers/platform/x86/ideapad-laptop.c
a90fa69
@@ -865,6 +865,13 @@ static const struct dmi_system_id no_hw_rfkill_list[] = {
a90fa69
 		},
a90fa69
 	},
a90fa69
 	{
a90fa69
+		.ident = "Lenovo ideapad Y700-17ISK",
a90fa69
+		.matches = {
a90fa69
+			DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"),
a90fa69
+			DMI_MATCH(DMI_PRODUCT_VERSION, "Lenovo ideapad Y700-17ISK"),
a90fa69
+		},
a90fa69
+	},
a90fa69
+	{
a90fa69
 		.ident = "Lenovo Yoga 2 11 / 13 / Pro",
a90fa69
 		.matches = {
a90fa69
 			DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"),
a90fa69
-- 
a90fa69
2.5.0
a90fa69