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