patches: refresh patches on v4.14-rc1
[openwrt/staging/blogic.git] / patches / 0081-proto_ops-accept / nfc.patch
1 diff --git a/net/nfc/llcp_sock.c b/net/nfc/llcp_sock.c
2 index 043c6d3..5b4e44c 100644
3 --- a/net/nfc/llcp_sock.c
4 +++ b/net/nfc/llcp_sock.c
5 @@ -443,7 +443,11 @@ struct sock *nfc_llcp_accept_dequeue(str
6 }
7
8 static int llcp_sock_accept(struct socket *sock, struct socket *newsock,
9 +#if LINUX_VERSION_IS_GEQ(4,11,0)
10 int flags, bool kern)
11 +#else
12 + int flags)
13 +#endif
14 {
15 DECLARE_WAITQUEUE(wait, current);
16 struct sock *sk = sock->sk, *new_sk;