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:
4732b88
)
Remove redundant call to bluetooth_init().
author
Nick Pelly
<npelly@google.com>
Wed, 30 Sep 2009 18:35:21 +0000
(11:35 -0700)
committer
Nick Pelly
<npelly@google.com>
Wed, 30 Sep 2009 18:35:21 +0000
(11:35 -0700)
This is a cleanup to Ian Kent's preceeding patchset.
Change-Id: I8ff00530fdd337873ff898b7fd9009b0fc13f0b4
audio/liba2dp.c
patch
|
blob
|
history
diff --git
a/audio/liba2dp.c
b/audio/liba2dp.c
index
4f2dda0
..
d8f5bc8
100755
(executable)
--- a/
audio/liba2dp.c
+++ b/
audio/liba2dp.c
@@
-1001,11
+1001,6
@@
static void* a2dp_thread(void *d)
}
switch (command) {
- case A2DP_CMD_INIT:
- if (data->state != A2DP_STATE_NONE)
- break;
- bluetooth_init(data);
- break;
case A2DP_CMD_CONFIGURE:
if (data->state != A2DP_STATE_INITIALIZED)
break;
@@
-1030,6
+1025,8
@@
static void* a2dp_thread(void *d)
a2dp_free(data);
goto done;
+ case A2DP_CMD_INIT:
+ /* already called bluetooth_init() */
default:
break;
}