From 2153d77a6cbc81d02947106e3fe38b0520d1abb3 Mon Sep 17 00:00:00 2001 From: dh79pyun Date: Mon, 8 Nov 2021 11:26:39 +0900 Subject: [PATCH] Remove the trust logic in the Robot profile Change-Id: I50986abbd90e581be434a12aaf67927b718a3a27 Signed-off-by: dh79pyun --- bt-oal/bluez_hal/src/bt-hal-agent.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/bt-oal/bluez_hal/src/bt-hal-agent.c b/bt-oal/bluez_hal/src/bt-hal-agent.c index 1c89e72..d9ac786 100644 --- a/bt-oal/bluez_hal/src/bt-hal-agent.c +++ b/bt-oal/bluez_hal/src/bt-hal-agent.c @@ -714,12 +714,9 @@ static gboolean __bt_hal_confirm_request(GapAgentPrivate *agent, GDBusProxy *dev } if (TIZEN_FEATURE_ROBOT_REFERENCE) { - bt_bdaddr_t bdaddr; - DBG("Robot Device. Auto Accept and Set Trusted"); + DBG("Robot Device. Auto Accept"); /* Reply the ssp confirmation automaticaly */ gap_agent_reply_confirmation(agent, GAP_AGENT_ACCEPT, NULL); - _bt_hal_convert_addr_string_to_type(bdaddr.address, address); - _bt_hal_device_set_trust(&bdaddr, 1); } __bt_hal_send_ssp_request_events(address, name, passkey, -- 2.7.4