From 14460ad72f9c1ba11d706928c2b617bb915a3d22 Mon Sep 17 00:00:00 2001 From: Johan Hedberg Date: Mon, 1 Oct 2012 13:43:00 +0300 Subject: [PATCH] core: Add btd_profile parameter to profile disconnect callback --- src/profile.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/profile.h b/src/profile.h index 1702901a6..e20b38354 100644 --- a/src/profile.h +++ b/src/profile.h @@ -43,7 +43,9 @@ struct btd_profile { int (*connect) (struct btd_device *device, struct btd_profile *profile, btd_profile_cb cb); - int (*disconnect) (struct btd_device *device, btd_profile_cb cb); + int (*disconnect) (struct btd_device *device, + struct btd_profile *profile, + btd_profile_cb cb); int (*adapter_probe) (struct btd_profile *p, struct btd_adapter *adapter); -- 2.47.3