summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLaura Abbott <labbott@fedoraproject.org>2016-11-14 14:53:27 -0800
committerLaura Abbott <labbott@fedoraproject.org>2016-11-14 14:53:27 -0800
commit3b7c7907dd06c277be6e6e96680739c3148104b3 (patch)
tree8f857e6d8955f44d677ee261eac5ce252f021f15
parent53943dcc5dc27b32526fadf11b245f3db578b4f6 (diff)
downloadkernel-3b7c7907dd06c277be6e6e96680739c3148104b3.tar.gz
kernel-3b7c7907dd06c277be6e6e96680739c3148104b3.tar.xz
kernel-3b7c7907dd06c277be6e6e96680739c3148104b3.zip
Fix for some Yoga laptop WIFI (rhbz 1385823)
-rw-r--r--0001-platform-x86-ideapad-laptop-Add-Lenovo-Yoga-910-13IK.patch40
-rw-r--r--kernel.spec6
2 files changed, 46 insertions, 0 deletions
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 <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
+
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 <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)