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:
46b3a3d
)
avdtp: fix audio source init check
author
Michael Brudevold
<michael.brudevold@logicpd.com>
Fri, 23 Mar 2012 15:03:47 +0000
(10:03 -0500)
committer
Johan Hedberg
<johan.hedberg@intel.com>
Tue, 27 Mar 2012 11:51:43 +0000
(14:51 +0300)
audio/avdtp.c
patch
|
blob
|
history
diff --git
a/audio/avdtp.c
b/audio/avdtp.c
index
cd66fd4
..
8b36f0b
100644
(file)
--- a/
audio/avdtp.c
+++ b/
audio/avdtp.c
@@
-1520,7
+1520,7
@@
static gboolean avdtp_setconf_cmd(struct avdtp *session, uint8_t transaction,
case AVDTP_SEP_TYPE_SINK:
if (!dev->source) {
btd_device_add_uuid(dev->btd_dev, A2DP_SOURCE_UUID);
- if (!dev->s
ink
) {
+ if (!dev->s
ource
) {
error("Unable to get a audio source object");
err = AVDTP_BAD_STATE;
goto failed;