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)
committerSasha Levin <sasha.levin@oracle.com>
Wed, 3 Feb 2016 21:23:20 +0000 (16:23 -0500)
[ Upstream commit edde316acb5f07c04abf09a92f59db5d2efd14e2 ]

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>
Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
drivers/platform/x86/ideapad-laptop.c

index cd78f11..32b58b4 100644 (file)
@@ -845,6 +845,13 @@ static const struct dmi_system_id no_hw_rfkill_list[] = {
                },
        },
        {
+               .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 = {
                        DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"),