e702b33
From 59637d194abb34c4ed0368b1614494e1f5f72bda Mon Sep 17 00:00:00 2001
e702b33
From: Dmitry Tunin <hanipouspilot@gmail.com>
e702b33
Date: Sun, 18 Jan 2015 15:44:40 +0300
e702b33
Subject: [PATCH] ideapad_laptop: Lenovo G50-30 fix rfkill reports wireless
e702b33
 blocked
e702b33
e702b33
Lenovo G30-50 does not have a hardware wireless switch and wireless
e702b33
is always blocked.
e702b33
e702b33
BugLink: https://bugs.launchpad.net/bugs/1397021
e702b33
Signed-off-by: Dmitry Tunin <hanipouspilot@gmail.com>
e702b33
Cc: stable@vger.kernel.org
e702b33
Signed-off-by: Philippe Coval <philippe.coval@open.eurogiciel.org>
e702b33
[dvhart@linux.intel.com: Reordered dmi id per Phillippe's later version]
e702b33
Signed-off-by: Darren Hart <dvhart@linux.intel.com>
e702b33
---
e702b33
 drivers/platform/x86/ideapad-laptop.c | 5 +++++
e702b33
 1 file changed, 5 insertions(+)
e702b33
e702b33
diff --git a/drivers/platform/x86/ideapad-laptop.c b/drivers/platform/x86/ideapad-laptop.c
e702b33
index b496db8..c98f885 100644
e702b33
--- a/drivers/platform/x86/ideapad-laptop.c
e702b33
+++ b/drivers/platform/x86/ideapad-laptop.c
e702b33
@@ -834,6 +834,11 @@ static const struct dmi_system_id no_hw_rfkill_list[] = {
e702b33
 		.matches = {
e702b33
 			DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"),
e702b33
 			DMI_MATCH(DMI_PRODUCT_VERSION, "Lenovo G40-30"),
e702b33
+	},
e702b33
+		.ident = "Lenovo G50-30",
e702b33
+		.matches = {
e702b33
+			DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"),
e702b33
+			DMI_MATCH(DMI_PRODUCT_VERSION, "Lenovo G50-30"),
e702b33
 		},
e702b33
 	},
e702b33
 	{
e702b33
-- 
e702b33
2.4.3
e702b33