platform/x86: ideapad-laptop: add lenovo RESCUER R720-15IKBN to no_hw_rfkill_list

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>
This commit is contained in:
Jiaxun Yang 2017-12-02 21:45:34 +08:00 committed by Darren Hart (VMware)
parent f1395edbce
commit ae7c8cba32

View file

@ -963,6 +963,13 @@ static void ideapad_wmi_notify(u32 value, void *context)
* report all radios as hardware-blocked. * report all radios as hardware-blocked.
*/ */
static const struct dmi_system_id no_hw_rfkill_list[] = { 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", .ident = "Lenovo G40-30",
.matches = { .matches = {