projects
/
platform
/
core
/
connectivity
/
bluetooth-frwk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Audio connect issue if 2 Headset already connected
[platform/core/connectivity/bluetooth-frwk.git]
/
bt-service
/
bt-service-audio.c
diff --git
a/bt-service/bt-service-audio.c
b/bt-service/bt-service-audio.c
index
68994b4
..
c889216
100644
(file)
--- a/
bt-service/bt-service-audio.c
+++ b/
bt-service/bt-service-audio.c
@@
-451,8
+451,10
@@
static int __bt_is_headset_connected(int type, int req_id,
node = g_list_next(node);
}
- if (!connected)
+ if (!connected) {
+ __bt_free_wait_data();
return BLUETOOTH_ERROR_NOT_CONNECTED;
+ }
BT_DBG("connected headset %s", connected_address);