Fix for some Yoga laptop WIFI (rhbz 1385823)

This commit is contained in:
Laura Abbott 2016-11-14 14:53:27 -08:00
parent 53943dcc5d
commit 3b7c7907dd
2 changed files with 46 additions and 0 deletions

View File

@ -0,0 +1,40 @@
From 40c30bbf3377babc4d6bb16b699184236a8bfa27 Mon Sep 17 00:00:00 2001
From: Brian Masney <masneyb@onstation.org>
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 <masneyb@onstation.org>
Signed-off-by: Darren Hart <dvhart@linux.intel.com>
---
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

View File

@ -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 <labbott@fedoraproject.org>
- Fix for some Yoga laptop WIFI (rhbz 1385823)
* Fri Nov 11 2016 Justin M. Forbes <jforbes@fedoraproject.org>
- Nouveau: Add Maxwell to backlight initialization (rhbz 1390308)