aboutsummaryrefslogtreecommitdiffstats
path: root/net/llc/af_llc.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/llc/af_llc.c')
-rw-r--r--net/llc/af_llc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/llc/af_llc.c b/net/llc/af_llc.c
index 0607cd3fd12c..3361ae900e2b 100644
--- a/net/llc/af_llc.c
+++ b/net/llc/af_llc.c
@@ -418,9 +418,9 @@ static int llc_ui_connect(struct socket *sock, struct sockaddr *uaddr,
418 rc = llc_ui_autobind(sock, addr); 418 rc = llc_ui_autobind(sock, addr);
419 if (rc) 419 if (rc)
420 goto out; 420 goto out;
421 llc->daddr.lsap = addr->sllc_sap;
422 memcpy(llc->daddr.mac, addr->sllc_mac, IFHWADDRLEN);
423 } 421 }
422 llc->daddr.lsap = addr->sllc_sap;
423 memcpy(llc->daddr.mac, addr->sllc_mac, IFHWADDRLEN);
424 sock->state = SS_CONNECTING; 424 sock->state = SS_CONNECTING;
425 sk->sk_state = TCP_SYN_SENT; 425 sk->sk_state = TCP_SYN_SENT;
426 llc->link = llc_ui_next_link_no(llc->sap->laddr.lsap); 426 llc->link = llc_ui_next_link_no(llc->sap->laddr.lsap);