summaryrefslogtreecommitdiffstats
path: root/ideapad-laptop-Add-Lenovo-Yoga-900-to-no_hw_rfkill-d.patch
diff options
context:
space:
mode:
authorJosh Boyer <jwboyer@fedoraproject.org>2015-11-10 11:21:12 -0500
committerJosh Boyer <jwboyer@fedoraproject.org>2015-11-10 11:21:16 -0500
commita74d8de2729a14ff63c3fc23e2b959e91bea0f72 (patch)
tree73099702f1977ead57b60c15dadd490703e2fdc0 /ideapad-laptop-Add-Lenovo-Yoga-900-to-no_hw_rfkill-d.patch
parent3f2c6343fd85c4f94e3817004e4601d3fc60ac18 (diff)
downloadkernel-a74d8de2729a14ff63c3fc23e2b959e91bea0f72.tar.gz
kernel-a74d8de2729a14ff63c3fc23e2b959e91bea0f72.tar.xz
kernel-a74d8de2729a14ff63c3fc23e2b959e91bea0f72.zip
Fix Yoga 900 rfkill switch issues (rhbz 1275490)
Diffstat (limited to 'ideapad-laptop-Add-Lenovo-Yoga-900-to-no_hw_rfkill-d.patch')
-rw-r--r--ideapad-laptop-Add-Lenovo-Yoga-900-to-no_hw_rfkill-d.patch41
1 files changed, 41 insertions, 0 deletions
diff --git a/ideapad-laptop-Add-Lenovo-Yoga-900-to-no_hw_rfkill-d.patch b/ideapad-laptop-Add-Lenovo-Yoga-900-to-no_hw_rfkill-d.patch
new file mode 100644
index 000000000..9f6e5db1c
--- /dev/null
+++ b/ideapad-laptop-Add-Lenovo-Yoga-900-to-no_hw_rfkill-d.patch
@@ -0,0 +1,41 @@
+From 332faabbaab64876396be48f1a1cf72b31d53a9d Mon Sep 17 00:00:00 2001
+From: Hans de Goede <hdegoede@redhat.com>
+Date: Mon, 9 Nov 2015 17:09:05 +0100
+Subject: [PATCH] ideapad-laptop: Add Lenovo Yoga 900 to no_hw_rfkill dmi list
+
+Like some of the other Yoga models the Lenovo Yoga 900 does not have a
+hw rfkill switch, and trying to read the hw rfkill switch through the
+ideapad module causes it to always reported blocking breaking wifi.
+
+This commit adds the Lenovo Yoga 900 to the no_hw_rfkill dmi list, fixing
+the wifi breakage.
+
+BugLink: https://bugzilla.redhat.com/show_bug.cgi?id=1275490
+Cc: stable@vger.kernel.org
+Reported-and-tested-by: Kevin Fenzi <kevin@scrye.com>
+Signed-off-by: Hans de Goede <hdegoede@redhat.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 fce49f3c6ed6..d4a48b4d161a 100644
+--- a/drivers/platform/x86/ideapad-laptop.c
++++ b/drivers/platform/x86/ideapad-laptop.c
+@@ -873,6 +873,13 @@ static const struct dmi_system_id no_hw_rfkill_list[] = {
+ DMI_MATCH(DMI_PRODUCT_VERSION, "Lenovo YOGA 3 Pro-1370"),
+ },
+ },
++ {
++ .ident = "Lenovo Yoga 900",
++ .matches = {
++ DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"),
++ DMI_MATCH(DMI_PRODUCT_VERSION, "Lenovo YOGA 900"),
++ },
++ },
+ {}
+ };
+
+--
+2.4.3
+