OSDN Git Service
(root)
/
android-x86
/
external-bluetooth-bluez.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
When RFKILL is unblocked restore the previous power setting
[android-x86/external-bluetooth-bluez.git]
/
src
/
rfkill.c
diff --git
a/src/rfkill.c
b/src/rfkill.c
index
065c024
..
286fc5c
100644
(file)
--- a/
src/rfkill.c
+++ b/
src/rfkill.c
@@
-133,6
+133,8
@@
static gboolean rfkill_event(GIOChannel *chan,
debug("RFKILL unblock for hci%d", id);
+ btd_adapter_restore_powered(adapter);
+
return TRUE;
}