]> git.baikalelectronics.ru Git - kernel.git/commit
acer-wmi: Fix wireless and bluetooth on early AMW0 v2 laptops
authorCarlos Corbacho <carlos@strangeworlds.co.uk>
Wed, 6 Aug 2008 18:13:56 +0000 (19:13 +0100)
committerAndi Kleen <ak@linux.intel.com>
Fri, 15 Aug 2008 00:27:01 +0000 (02:27 +0200)
commitd6a030791f64d7e1b9328baf1f1cad0aeb36a8fb
treeb689248d952f8e9c408895f5cd21cfbb095b1b6f
parentbfdb03456898539119a192e5699a381914067ca2
acer-wmi: Fix wireless and bluetooth on early AMW0 v2 laptops

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>
CC: stable@kernel.org
Signed-off-by: Andi Kleen <ak@linux.intel.com>
drivers/misc/acer-wmi.c