anchao commented on a change in pull request #5434:
URL: https://github.com/apache/incubator-nuttx/pull/5434#discussion_r801717631
##########
File path: net/ieee802154/ieee802154_sockif.c
##########
@@ -375,15 +375,17 @@ static int ieee802154_bind(FAR struct socket *psock,
/* Bind a PF_IEEE802154 socket to an network device. */
- if (psock->s_type != SOCK_DGRAM)
+ if (ppsock->s_conn == NULL || sock->s_type != SOCK_DGRAM)
Review comment:
Done
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]