From: Hugo Trovao Date: Sun, 24 Feb 2019 20:01:45 +0000 (+0000) Subject: platform/x86: ideapad-laptop: Add Yoga C930 to no_hw_rfkill_list X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=67133c6d99ef0d8917f764a9a70039b5e78d5e71;p=linux.git platform/x86: ideapad-laptop: Add Yoga C930 to no_hw_rfkill_list Lenovo Yoga C930 does not have a physical hw radio switch which makes ideapad_laptop to incorrectly disable radio while it should be working fine. Adding it to the no_hw_rfkill_list makes wireless available again without having to unload the module. Signed-off-by: Hugo Trovao Signed-off-by: Andy Shevchenko --- diff --git a/drivers/platform/x86/ideapad-laptop.c b/drivers/platform/x86/ideapad-laptop.c index cde84bdf63ff7..f3e87057929f6 100644 --- a/drivers/platform/x86/ideapad-laptop.c +++ b/drivers/platform/x86/ideapad-laptop.c @@ -1258,6 +1258,13 @@ static const struct dmi_system_id no_hw_rfkill_list[] = { DMI_MATCH(DMI_PRODUCT_VERSION, "Lenovo YOGA 920-13IKB"), }, }, + { + .ident = "Lenovo YOGA C930-13IKB", + .matches = { + DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"), + DMI_MATCH(DMI_PRODUCT_VERSION, "Lenovo YOGA C930-13IKB"), + }, + }, { .ident = "Lenovo Zhaoyang E42-80", .matches = {