summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMikel Astiz <mikel.astiz@bmw-carit.de>2012-10-19 17:39:29 +0200
committerJohan Hedberg <johan.hedberg@intel.com>2012-10-25 13:36:26 +0300
commitc814fa7b49553b0de2c24865819df60e2e55d1ed (patch)
treed1bec99b8f8eae6fa978ea8841459ad0a7430e42
parent2c31fdb6a464c66e46df02f83bcc3aa71607f914 (diff)
input: Add profile .disconnect
Add the disconnect hook to the btd_profile.
-rw-r--r--profiles/input/manager.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/profiles/input/manager.c b/profiles/input/manager.c
index a2690b56..71fd48f4 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,