]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
acer-wmi: Fix wireless and bluetooth on early AMW0 v2 laptops
authorCarlos Corbacho <carlos@strangeworlds.co.uk>
Fri, 15 Aug 2008 16:30:03 +0000 (16:30 +0000)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 20 Aug 2008 18:05:03 +0000 (11:05 -0700)
commitd990bc6c4c3c2df9a1ed604aa99cdfe22ed76065
tree10a2e43f3c08d56b796c94c6fb38236cbec310f9
parentdb6d9c1f9a1beb1b20b7b0bd5e12a16c68a6465b
acer-wmi: Fix wireless and bluetooth on early AMW0 v2 laptops

commit 5c742b45dd5fbbb6cf74d3378341704f4b23c5e8 upstream

In the old acer_acpi, I discovered that on some of the newer AMW0 laptops
that supported the WMID methods, they don't work properly for setting the
wireless and bluetooth values.

So for the AMW0 V2 laptops, we want to use both the 'old' AMW0 and the
'new' WMID methods for setting wireless & bluetooth to guarantee we always
enable it.

This was fixed in acer_acpi some time ago, but I forgot to port the patch
over to acer-wmi when it was merged.

(Without this patch, early AMW0 V2 laptops such as the Aspire 5040 won't
work with acer-wmi, where-as they did with the old acer_acpi).

AK: fix compilation

Signed-off-by: Carlos Corbacho <carlos@strangeworlds.co.uk>
Signed-off-by: Andi Kleen <ak@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/misc/acer-wmi.c