net: remove needless (now buggy) & from dev->dev_addr (part2)
Missed part of "&" removal. Signed-off-by: Jiri Pirko <jpirko@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
3699a1c7d4
commit
a186d2aead
1 changed files with 1 additions and 1 deletions
|
@ -935,7 +935,7 @@ static int llc_ui_getname(struct socket *sock, struct sockaddr *uaddr,
|
|||
|
||||
if (llc->dev) {
|
||||
sllc.sllc_arphrd = llc->dev->type;
|
||||
memcpy(&sllc.sllc_mac, &llc->dev->dev_addr,
|
||||
memcpy(&sllc.sllc_mac, llc->dev->dev_addr,
|
||||
IFHWADDRLEN);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue