platform/x86: ideapad-laptop: Add Y720-15IKBN to no_hw_rfkill
authorOlle Liljenzin <olle@liljenzin.se>
Sun, 18 Jun 2017 12:37:58 +0000 (14:37 +0200)
committerBen Hutchings <ben@decadent.org.uk>
Sun, 7 Oct 2018 20:57:06 +0000 (21:57 +0100)
Lenovo Legion Y720-15IKBN is yet another Lenovo model that does not
have an 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>
Gbp-Pq: Topic bugfix/x86
Gbp-Pq: Name platform-x86-ideapad-laptop-add-y720-15ikbn-to-no_hw.patch

drivers/platform/x86/ideapad-laptop.c

index 6ed38e0a4e5c14dc20fb9e80a419a8dae24d4bd7..679687dea648960caba24a9bc8c12d9106f39641 100644 (file)
@@ -1174,6 +1174,13 @@ static const struct dmi_system_id no_hw_rfkill_list[] = {
                        DMI_MATCH(DMI_PRODUCT_VERSION, "Lenovo Y520-15IKBN"),
                },
        },
+       {
+               .ident = "Lenovo Legion Y720-15IKBN",
+               .matches = {
+                       DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"),
+                       DMI_MATCH(DMI_PRODUCT_VERSION, "Lenovo Y720-15IKBN"),
+               },
+       },
        {
                .ident = "Lenovo Yoga 2 11 / 13 / Pro",
                .matches = {