Bluetooth: fix incorrect nonblock bitmask in bt_sock_wait_ready()
[sfrench/cifs-2.6.git] / include / net / bluetooth / bluetooth.h
index 2aa5e95808a5a8ae860215ed29c95c8d76b9311f..6b48d9e2aab9dc6e66f48003b9e62ab811ecfab9 100644 (file)
@@ -345,7 +345,7 @@ int  bt_sock_stream_recvmsg(struct socket *sock, struct msghdr *msg,
 __poll_t bt_sock_poll(struct file *file, struct socket *sock, poll_table *wait);
 int  bt_sock_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg);
 int  bt_sock_wait_state(struct sock *sk, int state, unsigned long timeo);
-int  bt_sock_wait_ready(struct sock *sk, unsigned long flags);
+int  bt_sock_wait_ready(struct sock *sk, unsigned int msg_flags);
 
 void bt_accept_enqueue(struct sock *parent, struct sock *sk, bool bh);
 void bt_accept_unlink(struct sock *sk);