From: Mikel Astiz <mikel.astiz@xxxxxxxxxxxx> Add the disconnect hook to the btd_profile. --- profiles/input/manager.c | 1 + 1 file changed, 1 insertion(+) diff --git a/profiles/input/manager.c b/profiles/input/manager.c index a2690b5..71fd48f 100644 --- a/profiles/input/manager.c +++ b/profiles/input/manager.c @@ -90,6 +90,7 @@ static struct btd_profile input_profile = { .auto_connect = true, .connect = input_device_connect, + .disconnect = input_device_disconnect, .device_probe = hid_device_probe, .device_remove = hid_device_remove, -- 1.7.11.7 -- 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