Diff between 0504220de08b1b6f3768ff230cba87073b61cc1c and 670354f2fc1356d948066358912c4b05ef5204e4

Changed Files

File Additions Deletions Status
src/device.c +3 -0 modified

Full Patch

diff --git a/src/device.c b/src/device.c
index 7221f93..d28adeb 100644
--- a/src/device.c
+++ b/src/device.c
@@ -2044,6 +2044,9 @@ static void att_error_cb(const GError *gerr, gpointer user_data)
 	struct att_callbacks *attcb = user_data;
 	struct btd_device *device = attcb->user_data;
 
+	if (g_error_matches(gerr, BT_IO_ERROR, ECONNABORTED))
+		return;
+
 	if (device->auto_connect == FALSE)
 		return;