summaryrefslogtreecommitdiff
path: root/net/ax25/ax25_std_in.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/ax25/ax25_std_in.c')
-rw-r--r--net/ax25/ax25_std_in.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/ax25/ax25_std_in.c b/net/ax25/ax25_std_in.c
index 7abbee89d093..ac30541d95a4 100644
--- a/net/ax25/ax25_std_in.c
+++ b/net/ax25/ax25_std_in.c
@@ -73,10 +73,10 @@ static int ax25_std_state1_machine(ax25_cb *ax25, struct sk_buff *skb, int frame
ax25->state = AX25_STATE_3;
ax25->n2count = 0;
if (ax25->sk != NULL) {
- ax25->sk->state = TCP_ESTABLISHED;
+ ax25->sk->sk_state = TCP_ESTABLISHED;
/* For WAIT_SABM connections we will produce an accept ready socket here */
if (!sock_flag(ax25->sk, SOCK_DEAD))
- ax25->sk->state_change(ax25->sk);
+ ax25->sk->sk_state_change(ax25->sk);
}
}
break;