From 3b7c7907dd06c277be6e6e96680739c3148104b3 Mon Sep 17 00:00:00 2001 From: Laura Abbott Date: Mon, 14 Nov 2016 14:53:27 -0800 Subject: Fix for some Yoga laptop WIFI (rhbz 1385823) --- ...6-ideapad-laptop-Add-Lenovo-Yoga-910-13IK.patch | 40 ++++++++++++++++++++++ kernel.spec | 6 ++++ 2 files changed, 46 insertions(+) create mode 100644 0001-platform-x86-ideapad-laptop-Add-Lenovo-Yoga-910-13IK.patch diff --git a/0001-platform-x86-ideapad-laptop-Add-Lenovo-Yoga-910-13IK.patch b/0001-platform-x86-ideapad-laptop-Add-Lenovo-Yoga-910-13IK.patch new file mode 100644 index 000000000..42e935206 --- /dev/null +++ b/0001-platform-x86-ideapad-laptop-Add-Lenovo-Yoga-910-13IK.patch @@ -0,0 +1,40 @@ +From 40c30bbf3377babc4d6bb16b699184236a8bfa27 Mon Sep 17 00:00:00 2001 +From: Brian Masney +Date: Tue, 11 Oct 2016 19:28:02 -0400 +Subject: [PATCH] platform/x86: ideapad-laptop: Add Lenovo Yoga 910-13IKB to + no_hw_rfkill dmi list + +The Lenovo Yoga 910-13IKB does not have a hw rfkill switch, and trying +to read the hw rfkill switch through the ideapad module causes it to +always report as blocked. + +This commit adds the Lenovo Yoga 910-13IKB to the no_hw_rfkill dmi list, +fixing the WiFI breakage. + +Signed-off-by: Brian Masney +Signed-off-by: Darren Hart +--- + drivers/platform/x86/ideapad-laptop.c | 7 +++++++ + 1 file changed, 7 insertions(+) + +diff --git a/drivers/platform/x86/ideapad-laptop.c b/drivers/platform/x86/ideapad-laptop.c +index d1a091b..a232394 100644 +--- a/drivers/platform/x86/ideapad-laptop.c ++++ b/drivers/platform/x86/ideapad-laptop.c +@@ -933,6 +933,13 @@ static const struct dmi_system_id no_hw_rfkill_list[] = { + DMI_MATCH(DMI_PRODUCT_VERSION, "Lenovo YOGA 900"), + }, + }, ++ { ++ .ident = "Lenovo YOGA 910-13IKB", ++ .matches = { ++ DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"), ++ DMI_MATCH(DMI_PRODUCT_VERSION, "Lenovo YOGA 910-13IKB"), ++ }, ++ }, + {} + }; + +-- +2.7.4 + diff --git a/kernel.spec b/kernel.spec index 9607f3bc7..9b7b3825e 100644 --- a/kernel.spec +++ b/kernel.spec @@ -643,6 +643,9 @@ Patch853: 0001-drm-i915-Refresh-that-status-of-MST-capable-connecto.patch #rhbz 1390308 Patch854: nouveau-add-maxwell-to-backlight-init.patch +#rhbz 1385823 +Patch855: 0001-platform-x86-ideapad-laptop-Add-Lenovo-Yoga-910-13IK.patch + # END OF PATCH DEFINITIONS %endif @@ -2179,6 +2182,9 @@ fi # # %changelog +* Mon Nov 14 2016 Laura Abbott +- Fix for some Yoga laptop WIFI (rhbz 1385823) + * Fri Nov 11 2016 Justin M. Forbes - Nouveau: Add Maxwell to backlight initialization (rhbz 1390308) -- cgit