platform/x86: ideapad-laptop: Add S130-14IGM to no_hw_rfkill list
authorFelix Eckhofer <felix@eckhofer.com>
Wed, 6 Mar 2019 23:56:43 +0000 (00:56 +0100)
committerDarren Hart (VMware) <dvhart@infradead.org>
Thu, 7 Mar 2019 16:46:29 +0000 (08:46 -0800)
Lenovo Ideapad S130-14IGM does not have a hardware radio switch.
Add it to no_hw_rfkill to enable wireless connections.

Signed-off-by: Felix Eckhofer <felix@eckhofer.com>
Signed-off-by: Darren Hart (VMware) <dvhart@infradead.org>
drivers/platform/x86/ideapad-laptop.c

index c3b534e..c53ae86 100644 (file)
@@ -1105,6 +1105,13 @@ static const struct dmi_system_id no_hw_rfkill_list[] = {
                },
        },
        {
+               .ident = "Lenovo ideapad S130-14IGM",
+               .matches = {
+                       DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"),
+                       DMI_MATCH(DMI_PRODUCT_VERSION, "Lenovo ideapad S130-14IGM"),
+               },
+       },
+       {
                .ident = "Lenovo ideapad Y700-14ISK",
                .matches = {
                        DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"),