Sending client message on wrong MQ
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@1352 7fd9a85b-ad96-42d3-883c-3090e2eb8679
This commit is contained in:
parent
46e83520cb
commit
f78d8e3f7c
|
@ -124,7 +124,7 @@ static inline void nxmu_connect(FAR struct nxfe_conn_s *conn)
|
|||
|
||||
/* Send the handshake message back to the client */
|
||||
|
||||
ret = mq_send(conn->cwrmq, &outmsg, sizeof(struct nxclimsg_s), NX_CLIMSG_PRIO);
|
||||
ret = mq_send(conn->swrmq, &outmsg, sizeof(struct nxclimsg_s), NX_CLIMSG_PRIO);
|
||||
if (ret < 0)
|
||||
{
|
||||
gdbg("mq_send failed: %d\n", errno);
|
||||
|
|
Loading…
Reference in New Issue