From: dylanchu Date: Mon, 28 May 2018 11:44:48 +0000 (+0800) Subject: platform/x86: ideapad-laptop: Add E42-80 to no_hw_rfkill X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=1262516e6a926befd3bbd54ac1e9f512159f28fe;p=linux.git platform/x86: ideapad-laptop: Add E42-80 to no_hw_rfkill Lenovo Zhaoyang E42-80 is another Lenovo model without a 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: dylanchu Signed-off-by: Andy Shevchenko --- diff --git a/drivers/platform/x86/ideapad-laptop.c b/drivers/platform/x86/ideapad-laptop.c index 2b3663af19675..45b7cb01f4101 100644 --- a/drivers/platform/x86/ideapad-laptop.c +++ b/drivers/platform/x86/ideapad-laptop.c @@ -1216,6 +1216,13 @@ static const struct dmi_system_id no_hw_rfkill_list[] = { DMI_MATCH(DMI_PRODUCT_VERSION, "Lenovo YOGA 920-13IKB"), }, }, + { + .ident = "Lenovo Zhaoyang E42-80", + .matches = { + DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"), + DMI_MATCH(DMI_PRODUCT_VERSION, "ZHAOYANG E42-80"), + }, + }, {} };