[PATCH 24/36] android/gatt: Move struct req_data up in the file

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

 



It is needed by following patch
---
 android/gatt.c | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/android/gatt.c b/android/gatt.c
index d442a49..609775e 100644
--- a/android/gatt.c
+++ b/android/gatt.c
@@ -3746,6 +3746,11 @@ static uint8_t read_by_type(const uint8_t *cmd, uint16_t cmd_len,
 	return 0;
 }
 
+struct req_data {
+	struct gatt_device *dev;
+	uint8_t opcode;
+};
+
 static void att_handler(const uint8_t *ipdu, uint16_t len, gpointer user_data)
 {
 	struct gatt_device *dev = user_data;
@@ -3885,11 +3890,6 @@ static struct gap_srvc_handles gap_srvc_data;
 #define APPEARANCE_GENERIC_PHONE 0x0040
 #define PERIPHERAL_PRIVACY_DISABLE 0x00
 
-struct req_data {
-	struct gatt_device *dev;
-	uint8_t opcode;
-};
-
 static void gap_read_cb(uint16_t handle, uint16_t offset, void *req_data,
 							void *user_data)
 {
-- 
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