Diff between d2c09255ef856cd68545ee0cab766a837b47e132 and 27c076bbc93236ceca5f26343ae760571e9e845f

Changed Files

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

Full Patch

diff --git a/src/device.c b/src/device.c
index 50ab339..b581564 100644
--- a/src/device.c
+++ b/src/device.c
@@ -2005,6 +2005,7 @@ int device_browse_primary(struct btd_device *device, DBusConnection *conn,
 				BT_IO_OPT_INVALID);
 
 	if (device->att_io == NULL) {
+		device->browse = NULL;
 		browse_request_free(req);
 		g_free(attcb);
 		return -EIO;