From: Luiz Augusto von Dentz <luiz.von.dentz@xxxxxxxxx> This can happen with devices that export ATT profiles as SDP records such BlackBerry phones causing drivers to get probed which then call btd_device_add_attio_callback to get notified once connected. --- src/device.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/device.c b/src/device.c index e624445..46e881c 100644 --- a/src/device.c +++ b/src/device.c @@ -3908,7 +3908,7 @@ static void device_set_auto_connect(struct btd_device *device, gboolean enable) { char addr[18]; - if (!device) + if (!device || !device->le) return; ba2str(&device->bdaddr, addr); -- 1.8.5.3 -- To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html