OSDN Git Service
(root)
/
android-x86
/
kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
95a3ad1
)
eeepc-laptop: fills rfkill->data with the right value
author
Corentin Chary
<corentincj@iksaif.net>
Thu, 29 Oct 2009 21:26:04 +0000
(22:26 +0100)
committer
Corentin Chary
<corentin.chary@gmail.com>
Thu, 29 Oct 2009 21:29:43 +0000
(22:29 +0100)
Before this patch, all rfkill interface were controling the wlan device.
In fact, CM_ASL_WLAN = NULL = 0. :/
Signed-off-by: Corentin Chary <corentincj@iksaif.net>
drivers/platform/x86/eeepc-laptop.c
patch
|
blob
|
history
diff --git
a/drivers/platform/x86/eeepc-laptop.c
b/drivers/platform/x86/eeepc-laptop.c
index
ab85ef4
..
7441770
100644
(file)
--- a/
drivers/platform/x86/eeepc-laptop.c
+++ b/
drivers/platform/x86/eeepc-laptop.c
@@
-1088,6
+1088,7
@@
static struct rfkill *eeepc_rfkill_alloc(const char *name,
rfkill->name = name;
rfkill->toggle_radio = eeepc_rfkill_set;
rfkill->get_state = eeepc_rfkill_state;
+ rfkill->data = (void *)(unsigned long)asl;
if (get_acpi(asl) == 1) {
rfkill->state = RFKILL_STATE_UNBLOCKED;
rfkill_set_default(type, RFKILL_STATE_UNBLOCKED);