Re: [PATCH] acer-wmi: Add wireless quirk for Lenovo 3000 N200

From: joeyli
Date: Thu Oct 06 2011 - 04:39:02 EST


Hi Seth,

æ äï2011-10-04 æ 14:32 -0500ïSeth Forshee æåï
> 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/865807
> Signed-off-by: Seth Forshee <seth.forshee@xxxxxxxxxxxxx>
> ---
> drivers/platform/x86/acer-wmi.c | 9 +++++++++
> 1 files changed, 9 insertions(+), 0 deletions(-)
>
> diff --git a/drivers/platform/x86/acer-wmi.c b/drivers/platform/x86/acer-wmi.c
> index af2bb20..dac286a 100644
> --- a/drivers/platform/x86/acer-wmi.c
> +++ b/drivers/platform/x86/acer-wmi.c
> @@ -464,6 +464,15 @@ static struct dmi_system_id acer_quirks[] = {
> },
> .driver_data = &quirk_lenovo_ideapad_s205,
> },
> + {
> + .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,
> + },
> {}
> };
>

Simple applied and tested on my acer machine, no problem!

Reviewed-by: Lee, Chun-Yi <jlee@xxxxxxxxxx>

Thank's for your patch!
Joey Lee

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/