Remove the auto connection in GATT callback 48/96248/2 accepted/tizen/3.0/common/20161116.143203 accepted/tizen/3.0/ivi/20161116.020945 accepted/tizen/3.0/mobile/20161116.020901 accepted/tizen/3.0/tv/20161116.020915 accepted/tizen/3.0/wearable/20161116.020928 submit/tizen_3.0/20161115.010647
authorHyuk Lee <hyuk0512.lee@samsung.com>
Tue, 8 Nov 2016 08:41:31 +0000 (17:41 +0900)
committerPyun DoHyun <dh79.pyun@samsung.com>
Mon, 14 Nov 2016 02:47:12 +0000 (18:47 -0800)
Change-Id: I2754dddd3f3d7b387e50cfb1ee90b19f1b3dbda6
Signed-off-by: Hyuk Lee <hyuk0512.lee@samsung.com>
src/device.c

index 6d11526..e349c47 100644 (file)
@@ -8350,7 +8350,9 @@ guint btd_device_add_attio_callback(struct btd_device *device,
        attio->dcfunc = dcfunc;
        attio->user_data = user_data;
 
+#ifndef __TIZEN_PATCH__
        device_set_auto_connect(device, TRUE);
+#endif
 
        /* Check if there is no GAttrib associated to the device created by a
         * incoming connection */