aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
Diffstat (limited to 'net')
-rw-r--r--net/netrom/af_netrom.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/netrom/af_netrom.c b/net/netrom/af_netrom.c
index 5d66490dd290..dc9273295a38 100644
--- a/net/netrom/af_netrom.c
+++ b/net/netrom/af_netrom.c
@@ -720,7 +720,7 @@ static int nr_connect(struct socket *sock, struct sockaddr *uaddr,
720 720
721 for (;;) { 721 for (;;) {
722 prepare_to_wait(sk->sk_sleep, &wait, 722 prepare_to_wait(sk->sk_sleep, &wait,
723 TASK_INTERRUPTIBLE); 723 TASK_INTERRUPTIBLE);
724 if (sk->sk_state != TCP_SYN_SENT) 724 if (sk->sk_state != TCP_SYN_SENT)
725 break; 725 break;
726 if (!signal_pending(current)) { 726 if (!signal_pending(current)) {