]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
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)
committerLuis Henriques <luis.henriques@canonical.com>
Tue, 2 Feb 2016 19:10:04 +0000 (19:10 +0000)
commit edde316acb5f07c04abf09a92f59db5d2efd14e2 upstream.

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
Signed-off-by: Josh Boyer <jwboyer@fedoraproject.org>
Signed-off-by: Darren Hart <dvhart@linux.intel.com>
Signed-off-by: Luis Henriques <luis.henriques@canonical.com>
drivers/platform/x86/ideapad-laptop.c

index 964f83cc00c6da140e1bfaf53cfc6d56164aff15..94194ab92c48242ee4977ded3d62c35c9fd461e5 100644 (file)
@@ -838,6 +838,13 @@ static 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 = {