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