/* Transmits an HCI ACL data packet. This function consumes the supplied mbuf, regardless of the outcome. */
int ble_hs_hci_acl_tx(struct ble_hs_conn *conn, struct os_mbuf **om)
/* Transmits an HCI ACL data packet. This function consumes the supplied mbuf, regardless of the outcome. */
int ble_hs_hci_acl_tx(struct ble_hs_conn *conn, struct os_mbuf **om)
{
    BLE_HS_DBG_ASSERT(ble_hs_locked_by_cur_task());
    if (STAILQ_FIRST(&conn->bhc_tx_q) != NULL) {
        return BLE_HS_EAGAIN;
    }
    return ble_hs_hci_acl_tx_now(conn, om);
}