OSDN Git Service
(root)
/
android-x86
/
external-bluetooth-bluez.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
02bc7a1
)
hciops: fix discov_state when powering off an adapter
author
Johan Hedberg
<johan.hedberg@intel.com>
Mon, 17 Oct 2011 15:11:01 +0000
(18:11 +0300)
committer
Johan Hedberg
<johan.hedberg@intel.com>
Mon, 17 Oct 2011 15:11:01 +0000
(18:11 +0300)
plugins/hciops.c
patch
|
blob
|
history
diff --git
a/plugins/hciops.c
b/plugins/hciops.c
index
d0ba3ad
..
8d97f97
100644
(file)
--- a/
plugins/hciops.c
+++ b/
plugins/hciops.c
@@
-2652,6
+2652,7
@@
static void device_event(int event, int index)
devs[index].up = FALSE;
devs[index].pending_cod = 0;
devs[index].cache_enable = TRUE;
+ devs[index].discov_state = DISCOV_HALTED;
if (!devs[index].pending) {
struct btd_adapter *adapter;