static inline void bt_hci_event_complete_read_local_name(struct bt_hci_s *hci)

{

    read_local_name_rp params;

    params.status = HCI_SUCCESS;

    memset(params.name, 0, sizeof(params.name));

    if (hci->device.lmp_name)

        strncpy(params.name, hci->device.lmp_name, sizeof(params.name));



    bt_hci_event_complete(hci, &params, READ_LOCAL_NAME_RP_SIZE);

}

static inline void bt_hci_event_complete_read_local_name(struct bt_hci_s *hci)

{

    read_local_name_rp params;

    params.status = HCI_SUCCESS;

    memset(params.name, 0, sizeof(params.name));

    if (hci->device.lmp_name)

        strncpy(params.name, hci->device.lmp_name, sizeof(params.name));



    bt_hci_event_complete(hci, &params, READ_LOCAL_NAME_RP_SIZE);

}

        strncpy(params.name, hci->device.lmp_name, sizeof(params.name));
static inline void FUNC_0(struct bt_hci_s *VAR_0)

{

    read_local_name_rp params;

    params.status = HCI_SUCCESS;

    memset(params.name, 0, sizeof(params.name));

    if (VAR_0->device.lmp_name)

        strncpy(params.name, VAR_0->device.lmp_name, sizeof(params.name));



    bt_hci_event_complete(VAR_0, &params, READ_LOCAL_NAME_RP_SIZE);

}

static inline void FUNC_0(struct bt_hci_s *VAR_0)
{ read_local_name_rp params; params.status = HCI_SUCCESS; memset(params.name, 0, sizeof(params.name)); if (VAR_0->device.lmp_name)
strncpy(params.name, VAR_0->device.lmp_name, sizeof(params.name)); bt_hci_event_complete(VAR_0, &params, READ_LOCAL_NAME_RP_SIZE); }