Remove the trust logic in the Robot profile
[platform/core/connectivity/bluetooth-frwk.git] / 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,