platform/x86: ideapad-laptop: add lenovo RESCUER R720-15IKBN to no_hw_rfkill_list
authorJiaxun Yang <jiaxun.yang@flygoat.com>
Sat, 2 Dec 2017 13:45:34 +0000 (21:45 +0800)
committerDarren Hart (VMware) <dvhart@infradead.org>
Tue, 12 Dec 2017 00:31:06 +0000 (16:31 -0800)
This model does not have a hardware rfkill switch, add it to the
no_hw_rfkill_list to prevent the radio always being blocked.

Reported-by: Roger Jargoyhen <rjargoyhen@gmail.com>
Signed-off-by: Jiaxun Yang <jiaxun.yang@flygoat.com>
Signed-off-by: Darren Hart (VMware) <dvhart@infradead.org>
drivers/platform/x86/ideapad-laptop.c

index 37a8893..5ab638d 100644 (file)
@@ -963,6 +963,13 @@ static void ideapad_wmi_notify(u32 value, void *context)
  * report all radios as hardware-blocked.
  */
 static const struct dmi_system_id no_hw_rfkill_list[] = {
+       {
+               .ident = "Lenovo RESCUER R720-15IKBN",
+               .matches = {
+                       DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"),
+                       DMI_MATCH(DMI_BOARD_NAME, "80WW"),
+               },
+       },
        {
                .ident = "Lenovo G40-30",
                .matches = {