From: Olle Liljenzin Date: Sun, 18 Jun 2017 11:09:31 +0000 (+0200) Subject: platform/x86: ideapad-laptop: Add Y520-15IKBN to no_hw_rfkill X-Git-Tag: archive/raspbian/4.9.51-1+rpi1~8^2~100 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=491c6551582330a30b402314c03e2911b50f8fe0;p=linux-4.9.git platform/x86: ideapad-laptop: Add Y520-15IKBN to no_hw_rfkill Lenovo Legion Y520-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 Gbp-Pq: Topic bugfix/x86 Gbp-Pq: Name platform-x86-ideapad-laptop-add-y520-15ikbn-to-no_hw.patch --- diff --git a/drivers/platform/x86/ideapad-laptop.c b/drivers/platform/x86/ideapad-laptop.c index 792b99a9ac1f..3f6cb64afb2a 100644 --- a/drivers/platform/x86/ideapad-laptop.c +++ b/drivers/platform/x86/ideapad-laptop.c @@ -920,6 +920,13 @@ static const struct dmi_system_id no_hw_rfkill_list[] = { DMI_MATCH(DMI_PRODUCT_VERSION, "Lenovo Yoga 2"), }, }, + { + .ident = "Lenovo Legion Y520-15IKBN", + .matches = { + DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"), + DMI_MATCH(DMI_PRODUCT_VERSION, "Lenovo Y520-15IKBN"), + }, + }, { .ident = "Lenovo Yoga 2 11 / 13 / Pro", .matches = {