Patch enabling Bluetooth for Asus EEE 901

From: Ondrej Zajicek
Date: Sun Dec 28 2008 - 05:36:12 EST


eeepc-laptop driver has interface for enabling/disabling
Bluetooth, but it does not work. This patch fixes it.

Signed-off-by: Ondrej Zajicek <santiago@xxxxxxxxxxxxx>

diff -uprN -X linux-2.6.28-plain/Documentation/dontdiff linux-2.6.28-plain/drivers/misc/eeepc-laptop.c linux-2.6.28/drivers/misc/eeepc-laptop.c
--- linux-2.6.28-plain/drivers/misc/eeepc-laptop.c 2008-12-25 00:26:37.000000000 +0100
+++ linux-2.6.28/drivers/misc/eeepc-laptop.c 2008-12-27 11:19:25.000000000 +0100
@@ -90,7 +90,7 @@ enum {
};

static const char *cm_getv[] = {
- "WLDG", NULL, NULL, NULL,
+ "WLDG", "BTHG", NULL, NULL,
"CAMG", NULL, NULL, NULL,
NULL, "PBLG", NULL, NULL,
"CFVG", NULL, NULL, NULL,
@@ -99,7 +99,7 @@ static const char *cm_getv[] = {
};

static const char *cm_setv[] = {
- "WLDS", NULL, NULL, NULL,
+ "WLDS", "BTHS", NULL, NULL,
"CAMS", NULL, NULL, NULL,
"SDSP", "PBLS", "HDPS", NULL,
"CFVS", NULL, NULL, NULL,


--
Elen sila lumenn' omentielvo

Ondrej 'SanTiago' Zajicek (email: santiago@xxxxxxxxxxxxx)
OpenPGP encrypted e-mails preferred (KeyID 0x11DEADC3, wwwkeys.pgp.net)
"To err is human -- to blame it on a computer is even more so."
--
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/