summaryrefslogtreecommitdiffstats
path: root/net/qrtr/af_qrtr.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/qrtr/af_qrtr.c')
-rw-r--r--net/qrtr/af_qrtr.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/net/qrtr/af_qrtr.c b/net/qrtr/af_qrtr.c
index ec2322529727..5c2fb992803b 100644
--- a/net/qrtr/af_qrtr.c
+++ b/net/qrtr/af_qrtr.c
@@ -1035,8 +1035,7 @@ static int qrtr_recvmsg(struct socket *sock, struct msghdr *msg,
return -EADDRNOTAVAIL;
}
- skb = skb_recv_datagram(sk, flags & ~MSG_DONTWAIT,
- flags & MSG_DONTWAIT, &rc);
+ skb = skb_recv_datagram(sk, flags, &rc);
if (!skb) {
release_sock(sk);
return rc;