mirror of
https://github.com/apache/nuttx.git
synced 2026-05-30 13:27:01 +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;
|
||||
|
||||
DEBUGASSERT(conn != NULL && buf != NULL);
|
||||
|
||||
sq_init(&fraglist);
|
||||
|
||||
wlinfo("conn handle %u buf len %u\n", conn->handle, buf->len);
|
||||
|
||||
if (conn->state != BT_CONN_CONNECTED)
|
||||
|
||||
Reference in New Issue
Block a user