projects
/
platform
/
core
/
connectivity
/
bluetooth-frwk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
febe4bd
)
Fix unnecessary event sending issue
49/273949/1
author
Wootak Jung
<wootak.jung@samsung.com>
Tue, 19 Apr 2022 01:34:43 +0000
(10:34 +0900)
committer
Wootak Jung
<wootak.jung@samsung.com>
Tue, 19 Apr 2022 01:36:24 +0000
(10:36 +0900)
passkey conformation event is not required in auto accept case
Change-Id: Idff8dc50b14416487ec358154fd7704aa95149ec
bt-oal/bluez_hal/src/bt-hal-agent.c
patch
|
blob
|
history
diff --git
a/bt-oal/bluez_hal/src/bt-hal-agent.c
b/bt-oal/bluez_hal/src/bt-hal-agent.c
index
65f6446
..
230a3ec
100644
(file)
--- a/
bt-oal/bluez_hal/src/bt-hal-agent.c
+++ b/
bt-oal/bluez_hal/src/bt-hal-agent.c
@@
-712,12
+712,14
@@
static gboolean __bt_hal_confirm_request(GapAgentPrivate *agent, GDBusProxy *dev
if (TIZEN_FEATURE_BLUEZ_SPEAKER_REFERENCE) {
/* Reply the ssp confirmation automaticaly */
gap_agent_reply_confirmation(agent, GAP_AGENT_ACCEPT, NULL);
+ goto done;
}
if (TIZEN_FEATURE_ROBOT_REFERENCE) {
DBG("Robot Device. Auto Accept");
/* Reply the ssp confirmation automaticaly */
gap_agent_reply_confirmation(agent, GAP_AGENT_ACCEPT, NULL);
+ goto done;
}
__bt_hal_send_ssp_request_events(address, name, passkey,