[PATCH] shared/gatt-client: Fix callback type in struct write_op

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Callback type in struct write_op should be bt_gatt_client_callback_t as
that type is provided by user in bt_gatt_client_write_value()
---
 src/shared/gatt-client.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/shared/gatt-client.c b/src/shared/gatt-client.c
index 3042a6c..8acc752 100644
--- a/src/shared/gatt-client.c
+++ b/src/shared/gatt-client.c
@@ -1975,7 +1975,7 @@ bool bt_gatt_client_write_without_response(struct bt_gatt_client *client,
 }
 
 struct write_op {
-	bt_gatt_result_callback_t callback;
+	bt_gatt_client_callback_t callback;
 	void *user_data;
 	bt_gatt_destroy_func_t destroy;
 };
-- 
1.8.4

--
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



[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux