platform/x86: ideapad-laptop: Add Y720-15IKB to no_hw_rfkill
authorOlle Liljenzin <olle@liljenzin.se>
Sun, 7 Jan 2018 19:53:12 +0000 (20:53 +0100)
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 8 Jan 2018 10:56:29 +0000 (12:56 +0200)
Lenovo Legion Y720-15IKB is another Lenovo model without a
hw rfkill switch, resulting in wifi always reported as hard
blocked.

Add the model to the list of models without rfkill switch.

Signed-off-by: Olle Liljenzin <olle@liljenzin.se>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
drivers/platform/x86/ideapad-laptop.c

index 5ab638d..b2bbddd 100644 (file)
@@ -1111,6 +1111,13 @@ static const struct dmi_system_id no_hw_rfkill_list[] = {
                },
        },
        {
+               .ident = "Lenovo Legion Y720-15IKB",
+               .matches = {
+                       DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"),
+                       DMI_MATCH(DMI_PRODUCT_VERSION, "Lenovo Y720-15IKB"),
+               },
+       },
+       {
                .ident = "Lenovo Legion Y720-15IKBN",
                .matches = {
                        DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"),