diff options
Diffstat (limited to 'net/nfc/llcp/sock.c')
-rw-r--r-- | net/nfc/llcp/sock.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/net/nfc/llcp/sock.c b/net/nfc/llcp/sock.c index f1b377e247fe..2d55e8a45958 100644 --- a/net/nfc/llcp/sock.c +++ b/net/nfc/llcp/sock.c | |||
@@ -521,7 +521,8 @@ static unsigned int llcp_sock_poll(struct file *file, struct socket *sock, | |||
521 | return llcp_accept_poll(sk); | 521 | return llcp_accept_poll(sk); |
522 | 522 | ||
523 | if (sk->sk_err || !skb_queue_empty(&sk->sk_error_queue)) | 523 | if (sk->sk_err || !skb_queue_empty(&sk->sk_error_queue)) |
524 | mask |= POLLERR; | 524 | mask |= POLLERR | |
525 | sock_flag(sk, SOCK_SELECT_ERR_QUEUE) ? POLLPRI : 0; | ||
525 | 526 | ||
526 | if (!skb_queue_empty(&sk->sk_receive_queue)) | 527 | if (!skb_queue_empty(&sk->sk_receive_queue)) |
527 | mask |= POLLIN | POLLRDNORM; | 528 | mask |= POLLIN | POLLRDNORM; |