Return-Path: From: Lukasz Rymanowski To: linux-bluetooth@vger.kernel.org Cc: szymon.janc@tieto.com, Lukasz Rymanowski Subject: [PATCH 24/36] android/gatt: Move struct req_data up in the file Date: Tue, 29 Apr 2014 03:14:55 +0200 Message-Id: <1398734107-4793-26-git-send-email-lukasz.rymanowski@tieto.com> In-Reply-To: <1398734107-4793-1-git-send-email-lukasz.rymanowski@tieto.com> References: <1398734107-4793-1-git-send-email-lukasz.rymanowski@tieto.com> Sender: linux-bluetooth-owner@vger.kernel.org List-ID: 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