framework/ble_manager: fix ble_manager bug
fix ble_manager bug
@@ -371,7 +371,7 @@ trble_result_e ble_drv_set_adv_type(trble_adv_type_e adv_type, trble_addr *addr)
trble_result_e ble_drv_set_adv_interval(uint16_t interval)
{
trble_result_e res = TRBLE_SUCCESS;
- lwnl_msg msg = {BLE_INTF_NAME, {LWNL_REQ_BLE_SET_ADV_INTERVAL}, 0, NULL, (void *)&res};
+ lwnl_msg msg = {BLE_INTF_NAME, {LWNL_REQ_BLE_SET_ADV_INTERVAL}, sizeof(interval), (void *)&interval, (void *)&res};
if (_send_msg(&msg) < 0) {
res = TRBLE_FILE_ERROR;
}
