OSDN Git Service

platform/x86: ideapad-laptop: Add Y700 15-ACZ to no_hw_rfkill DMI list
authorvelemas <velemas@gmail.com>
Tue, 6 Dec 2016 19:17:43 +0000 (22:17 +0300)
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Fri, 16 Dec 2016 21:30:26 +0000 (23:30 +0200)
Like other Y700 models Lenovo Y700 15-ACZ does not have a physical rfkill switch.
ideapad-laptop wrongly reports all radios as blocked by hardware which causes
wireless network connections to fail.

Add this model without an rfkill switch to the no_hw_rfkill list.

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

index a232394..dc55619 100644 (file)
@@ -871,6 +871,13 @@ static const struct dmi_system_id no_hw_rfkill_list[] = {
                },
        },
        {
+               .ident = "Lenovo ideapad Y700-15ACZ",
+               .matches = {
+                       DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"),
+                       DMI_MATCH(DMI_PRODUCT_VERSION, "Lenovo ideapad Y700-15ACZ"),
+               },
+       },
+       {
                .ident = "Lenovo ideapad Y700-15ISK",
                .matches = {
                        DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"),