If bluetooth is turned off while pairing is in progress, sometimes Linkey information is present but device (Class of Device) information is missing. This patch stores the device information immediately after Linkkey information is saved so that Class of Device information is stored. --- src/device.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/device.c b/src/device.c index 025743f..e9630ed 100644 --- a/src/device.c +++ b/src/device.c @@ -4031,6 +4031,7 @@ void btd_device_set_temporary(struct btd_device *device, gboolean temporary) } else { if (device->bredr) adapter_whitelist_add(device->adapter, device); + store_device_info(device); } device->temporary = temporary; -- 1.7.9.5 -- 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