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 c3b534e1a6bb5ed33ff06c6e6b26c66e542365c0..c53ae86b59c795c6e49aafaf8055561f04eba82a 100644 (file)
@@ -1104,6 +1104,13 @@ static const struct dmi_system_id no_hw_rfkill_list[] = {
                        DMI_MATCH(DMI_PRODUCT_VERSION, "Lenovo ideapad 530S-14ARR"),
                },
        },
+       {
+               .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 = {