X-Git-Url: https://granicus.if.org/sourcecode?a=blobdiff_plain;f=components%2Fbt%2Fbluedroid%2Fstack%2Frfcomm%2Fport_utils.c;h=0da8b3d76b7318dd176b025d9f0e206db18ca7d1;hb=4f227a4ce39265a39ab9c900763ada3fac7338ab;hp=a88ae016f874cf8d474c8e4d3c6c1be2954b9921;hpb=5cc966e5b4f42b5d8dcb0286d2765d8e4a9d5697;p=esp-idf diff --git a/components/bt/bluedroid/stack/rfcomm/port_utils.c b/components/bt/bluedroid/stack/rfcomm/port_utils.c index a88ae016f8..0da8b3d76b 100644 --- a/components/bt/bluedroid/stack/rfcomm/port_utils.c +++ b/components/bt/bluedroid/stack/rfcomm/port_utils.c @@ -128,8 +128,8 @@ void port_set_defaults (tPORT *p_port) memset (&p_port->rx, 0, sizeof (p_port->rx)); memset (&p_port->tx, 0, sizeof (p_port->tx)); - p_port->tx.queue = fixed_queue_new(SIZE_MAX); - p_port->rx.queue = fixed_queue_new(SIZE_MAX); + p_port->tx.queue = fixed_queue_new(QUEUE_SIZE_MAX); + p_port->rx.queue = fixed_queue_new(QUEUE_SIZE_MAX); } /*******************************************************************************