Remove the trust logic in the Robot profile 04/266104/1
authordh79pyun <dh79.pyun@samsung.com>
Mon, 8 Nov 2021 02:26:39 +0000 (11:26 +0900)
committerdh79pyun <dh79.pyun@samsung.com>
Mon, 8 Nov 2021 02:26:39 +0000 (11:26 +0900)
Change-Id: I77ca652fd7475c3e342c0a56e032e20f1af06c8f
Signed-off-by: dh79pyun <dh79.pyun@samsung.com>
bt-oal/bluez_hal/src/bt-hal-agent.c

index 1c89e72..d9ac786 100644 (file)
@@ -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,