ideapad-laptop: Add Lenovo ideapad Y700-17ISK to no_hw_rfkill dmi list
authorJosh Boyer <jwboyer@fedoraproject.org>
Thu, 10 Dec 2015 02:12:52 +0000 (21:12 -0500)
committerDarren Hart <dvhart@linux.intel.com>
Tue, 19 Jan 2016 23:49:35 +0000 (15:49 -0800)
One of the newest ideapad models also lacks a physical hw rfkill switch,
and trying to read the hw rfkill switch through the ideapad module
causes it to always reported blocking breaking wifi.

Fix it by adding this model to the DMI list.

BugLink: https://bugzilla.redhat.com/show_bug.cgi?id=1286293
Cc: stable@vger.kernel.org
Signed-off-by: Josh Boyer <jwboyer@fedoraproject.org>
Signed-off-by: Darren Hart <dvhart@linux.intel.com>
drivers/platform/x86/ideapad-laptop.c

index a313dfc0245f550ac5322fec17d890662d52e790..d28db0e793dfb0a3b103bcfc71a9a6a859506ed4 100644 (file)
@@ -864,6 +864,13 @@ static const struct dmi_system_id no_hw_rfkill_list[] = {
                        DMI_MATCH(DMI_PRODUCT_VERSION, "Lenovo G50-30"),
                },
        },
+       {
+               .ident = "Lenovo ideapad Y700-17ISK",
+               .matches = {
+                       DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"),
+                       DMI_MATCH(DMI_PRODUCT_VERSION, "Lenovo ideapad Y700-17ISK"),
+               },
+       },
        {
                .ident = "Lenovo Yoga 2 11 / 13 / Pro",
                .matches = {