mirror of
https://github.com/apache/nuttx.git
synced 2026-05-31 23:40:19 +08:00
wireless/bluetooth/bt_conn.c: Fix uninitialized variable.
This commit is contained in:
@@ -390,6 +390,9 @@ void bt_conn_send(FAR struct bt_conn_s *conn, FAR struct bt_buf_s *buf)
|
|||||||
FAR uint8_t *ptr;
|
FAR uint8_t *ptr;
|
||||||
|
|
||||||
DEBUGASSERT(conn != NULL && buf != NULL);
|
DEBUGASSERT(conn != NULL && buf != NULL);
|
||||||
|
|
||||||
|
sq_init(&fraglist);
|
||||||
|
|
||||||
wlinfo("conn handle %u buf len %u\n", conn->handle, buf->len);
|
wlinfo("conn handle %u buf len %u\n", conn->handle, buf->len);
|
||||||
|
|
||||||
if (conn->state != BT_CONN_CONNECTED)
|
if (conn->state != BT_CONN_CONNECTED)
|
||||||
|
|||||||
Reference in New Issue
Block a user