From: Olle Liljenzin Date: Sun, 18 Jun 2017 12:37:58 +0000 (+0200) Subject: platform/x86: ideapad-laptop: Add Y720-15IKBN to no_hw_rfkill X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=b2f2fe205c3b9b595dc50ee431230a45d03f9c2c;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git platform/x86: ideapad-laptop: Add Y720-15IKBN to no_hw_rfkill Lenovo Legion Y720-15IKBN is yet another Lenovo model that does not have an hw rfkill switch, resulting in wifi always reported as hard blocked. Add the model to the list of models without rfkill switch. Signed-off-by: Olle Liljenzin Signed-off-by: Andy Shevchenko --- diff --git a/drivers/platform/x86/ideapad-laptop.c b/drivers/platform/x86/ideapad-laptop.c index f929bf12b506..527e5d9ab9bf 100644 --- a/drivers/platform/x86/ideapad-laptop.c +++ b/drivers/platform/x86/ideapad-laptop.c @@ -957,6 +957,13 @@ static const struct dmi_system_id no_hw_rfkill_list[] = { DMI_MATCH(DMI_PRODUCT_VERSION, "Lenovo Y520-15IKBN"), }, }, + { + .ident = "Lenovo Legion Y720-15IKBN", + .matches = { + DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"), + DMI_MATCH(DMI_PRODUCT_VERSION, "Lenovo Y720-15IKBN"), + }, + }, { .ident = "Lenovo Yoga 2 11 / 13 / Pro", .matches = {