OSDN Git Service

core: Add btd_profile parameter to profile disconnect callback
authorJohan Hedberg <johan.hedberg@intel.com>
Mon, 1 Oct 2012 10:43:00 +0000 (13:43 +0300)
committerJohan Hedberg <johan.hedberg@intel.com>
Mon, 1 Oct 2012 10:43:00 +0000 (13:43 +0300)
src/profile.h

index 1702901..e20b383 100644 (file)
@@ -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);