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