From: Deokhyun Kim Date: Mon, 18 May 2020 04:29:51 +0000 (+0900) Subject: Fix typo of variable in set_le_batching_param_complete X-Git-Tag: accepted/tizen/unified/20200529.124353~29 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=13e7738702eed34931f27d04e8c44644271c6102;p=platform%2Fupstream%2Fbluez.git Fix typo of variable in set_le_batching_param_complete Change-Id: Ia5b041d9d0c00e08d4a3310297205b1a71e5289a Signed-off-by: Deokhyun Kim Signed-off-by: Wootak Jung --- diff --git a/src/adapter.c b/src/adapter.c index 8aaa81d..b3a0cdc 100644 --- a/src/adapter.c +++ b/src/adapter.c @@ -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; }