platform/x86: ideapad-laptop: Add Yoga C930 to no_hw_rfkill_list
authorHugo Trovao <htrovao@gmail.com>
Sun, 24 Feb 2019 20:01:45 +0000 (20:01 +0000)
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Tue, 5 Mar 2019 10:44:47 +0000 (12:44 +0200)
Lenovo Yoga C930 does not have a physical hw radio switch which
makes ideapad_laptop to incorrectly disable radio while it should
be working fine.  Adding it to the no_hw_rfkill_list makes
wireless available again without having to unload the module.

Signed-off-by: Hugo Trovao <htrovao@gmail.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
drivers/platform/x86/ideapad-laptop.c

index cde84bdf63ff77de01090ea0ddb99c6f230218be..f3e87057929f6f2d9b59aa7ac2aa2fa20bfff286 100644 (file)
@@ -1258,6 +1258,13 @@ static const struct dmi_system_id no_hw_rfkill_list[] = {
                        DMI_MATCH(DMI_PRODUCT_VERSION, "Lenovo YOGA 920-13IKB"),
                },
        },
+       {
+               .ident = "Lenovo YOGA C930-13IKB",
+               .matches = {
+                       DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"),
+                       DMI_MATCH(DMI_PRODUCT_VERSION, "Lenovo YOGA C930-13IKB"),
+               },
+       },
        {
                .ident = "Lenovo Zhaoyang E42-80",
                .matches = {