]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
ideapad-laptop: Add ideapad Y700 (15) to the no_hw_rfkill DMI list
authorJohn Dahlstrom <jodarom@SDF.ORG>
Sat, 27 Feb 2016 06:09:58 +0000 (00:09 -0600)
committerBen Hutchings <ben@decadent.org.uk>
Sat, 30 Apr 2016 22:06:04 +0000 (00:06 +0200)
commit 4db9675d927a71faa66e5ab128d2390d6329750b upstream.

Some Lenovo ideapad models lack a physical rfkill switch.
On Lenovo models ideapad Y700 Touch-15ISK and ideapad Y700-15ISK,
ideapad-laptop would wrongly report all radios as blocked by
hardware which caused wireless network connections to fail.

Add these models without an rfkill switch to the no_hw_rfkill list.

Signed-off-by: John Dahlstrom <jodarom@sdf.org>
Signed-off-by: Darren Hart <dvhart@linux.intel.com>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
drivers/platform/x86/ideapad-laptop.c

index 7dc854cb206329b862e27366982ea9bc7009791e..64015cc978b11ff848da93642543fdc619cc7cb1 100644 (file)
@@ -838,6 +838,20 @@ static struct dmi_system_id no_hw_rfkill_list[] = {
                        DMI_MATCH(DMI_PRODUCT_VERSION, "Lenovo G50-30"),
                },
        },
+       {
+               .ident = "Lenovo ideapad Y700-15ISK",
+               .matches = {
+                       DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"),
+                       DMI_MATCH(DMI_PRODUCT_VERSION, "Lenovo ideapad Y700-15ISK"),
+               },
+       },
+       {
+               .ident = "Lenovo ideapad Y700 Touch-15ISK",
+               .matches = {
+                       DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"),
+                       DMI_MATCH(DMI_PRODUCT_VERSION, "Lenovo ideapad Y700 Touch-15ISK"),
+               },
+       },
        {
                .ident = "Lenovo ideapad Y700-17ISK",
                .matches = {