From: dh79pyun Date: Mon, 8 Nov 2021 02:26:39 +0000 (+0900) Subject: Remove the trust logic in the Robot profile X-Git-Tag: accepted/tizen/6.5/unified/20211111.224613~3 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2153d77a6cbc81d02947106e3fe38b0520d1abb3;p=platform%2Fcore%2Fconnectivity%2Fbluetooth-frwk.git Remove the trust logic in the Robot profile Change-Id: I50986abbd90e581be434a12aaf67927b718a3a27 Signed-off-by: dh79pyun --- 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,