|
@@ -1680,7 +1680,8 @@ static int hci_sock_sendmsg(struct socket *sock, struct msghdr *msg,
|
|
if (msg->msg_flags & MSG_OOB)
|
|
if (msg->msg_flags & MSG_OOB)
|
|
return -EOPNOTSUPP;
|
|
return -EOPNOTSUPP;
|
|
|
|
|
|
- if (msg->msg_flags & ~(MSG_DONTWAIT|MSG_NOSIGNAL|MSG_ERRQUEUE))
|
|
|
|
|
|
+ if (msg->msg_flags & ~(MSG_DONTWAIT|MSG_NOSIGNAL|MSG_ERRQUEUE|
|
|
|
|
+ MSG_CMSG_COMPAT))
|
|
return -EINVAL;
|
|
return -EINVAL;
|
|
|
|
|
|
if (len < 4 || len > HCI_MAX_FRAME_SIZE)
|
|
if (len < 4 || len > HCI_MAX_FRAME_SIZE)
|