Fix typo of variable in set_le_batching_param_complete 62/233662/1
authorDeokhyun Kim <dukan.kim@samsung.com>
Mon, 18 May 2020 04:29:51 +0000 (13:29 +0900)
committerWootak Jung <wootak.jung@samsung.com>
Mon, 18 May 2020 05:48:14 +0000 (14:48 +0900)
Change-Id: Ia5b041d9d0c00e08d4a3310297205b1a71e5289a
Signed-off-by: Deokhyun Kim <dukan.kim@samsung.com>
Signed-off-by: Wootak Jung <wootak.jung@samsung.com>
src/adapter.c

index 8aaa81d..b3a0cdc 100644 (file)
@@ -5966,7 +5966,7 @@ static void set_le_batching_enable_complete(
 
        if (length < sizeof(*rp)) {
                reply = btd_error_failed(request->msg,
-                       "Wrong size of get le batching buffer");
+                       "Wrong size of set le batching enable");
                goto done;
        }
 
@@ -5988,7 +5988,7 @@ static void set_le_batching_param_complete(
                        uint8_t status, uint16_t length,
                        const void *param, void *user_data)
 {
-       const struct mgmt_rp_get_le_batching_buffer *rp = param;
+       const struct mgmt_rp_set_le_batching_param *rp = param;
        struct mgmt_cp_set_le_batching_enable cp;
        struct le_batching_set_param_request *request =
                (struct le_batching_set_param_request*)user_data;
@@ -6005,7 +6005,7 @@ static void set_le_batching_param_complete(
 
        if (length < sizeof(*rp)) {
                reply = btd_error_failed(request->msg,
-                       "Wrong size of get le batching buffer");
+                       "Wrong size of set le batching param");
                goto done;
        }