]> git.ipfire.org Git - thirdparty/kernel/linux.git/blobdiff - net/bluetooth/iso.c
Merge tag 'net-accept-more-20240515' of git://git.kernel.dk/linux
[thirdparty/kernel/linux.git] / net / bluetooth / iso.c
index 00c0d8413c638f2fcd0f63b75d913045a5216683..cc055b952ce69566d7968423e769f77bfe1766c8 100644 (file)
@@ -1159,7 +1159,7 @@ done:
 }
 
 static int iso_sock_accept(struct socket *sock, struct socket *newsock,
-                          int flags, bool kern)
+                          struct proto_accept_arg *arg)
 {
        DEFINE_WAIT_FUNC(wait, woken_wake_function);
        struct sock *sk = sock->sk, *ch;
@@ -1168,7 +1168,7 @@ static int iso_sock_accept(struct socket *sock, struct socket *newsock,
 
        lock_sock(sk);
 
-       timeo = sock_rcvtimeo(sk, flags & O_NONBLOCK);
+       timeo = sock_rcvtimeo(sk, arg->flags & O_NONBLOCK);
 
        BT_DBG("sk %p timeo %ld", sk, timeo);