Patchwork [Natty,SRU] UBUNTU: SAUCE: acer-wmi: Add wireless quirk for Lenovo 3000 N200

login
register
mail settings
Submitter Seth Forshee
Date Oct. 6, 2011, 8:35 p.m.
Message ID <1317933313-15511-2-git-send-email-seth.forshee@canonical.com>
Download mbox | patch
Permalink /patch/118165/
State New
Headers show

Comments

Seth Forshee - Oct. 6, 2011, 8:35 p.m.
This quirk fixes the wlan rfkill status on this machine. Without
it, wlan is permanently soft blocked whenever acer-wmi is loaded.

BugLink: https://bugs.launchpad.net/bugs/857297
Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
---
 drivers/platform/x86/acer-wmi.c |    9 +++++++++
 1 files changed, 9 insertions(+), 0 deletions(-)

Patch

diff --git a/drivers/platform/x86/acer-wmi.c b/drivers/platform/x86/acer-wmi.c
index 7451b66..2c99b11 100644
--- a/drivers/platform/x86/acer-wmi.c
+++ b/drivers/platform/x86/acer-wmi.c
@@ -442,6 +442,15 @@  static struct dmi_system_id acer_quirks[] = {
 		},
 		.driver_data = &quirk_medion_md_98300,
 	},
+	{
+		.callback = dmi_matched,
+		.ident = "Lenovo 3000 N200",
+		.matches = {
+			DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"),
+			DMI_MATCH(DMI_PRODUCT_NAME, "0687A31"),
+		},
+		.driver_data = &quirk_fujitsu_amilo_li_1718,
+	},
 	{}
 };