aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--net/ax25/af_ax25.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ax25/af_ax25.c b/net/ax25/af_ax25.c
index c83cf8432970..dae2a42d3d86 100644
--- a/net/ax25/af_ax25.c
+++ b/net/ax25/af_ax25.c
@@ -1262,7 +1262,7 @@ static int __must_check ax25_connect(struct socket *sock,
1262 1262
1263 for (;;) { 1263 for (;;) {
1264 prepare_to_wait(sk->sk_sleep, &wait, 1264 prepare_to_wait(sk->sk_sleep, &wait,
1265 TASK_INTERRUPTIBLE); 1265 TASK_INTERRUPTIBLE);
1266 if (sk->sk_state != TCP_SYN_SENT) 1266 if (sk->sk_state != TCP_SYN_SENT)
1267 break; 1267 break;
1268 if (!signal_pending(current)) { 1268 if (!signal_pending(current)) {