staging: rtl8723au: OnAuth23a(): Use ether_addr_copy()
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
1ae17bf169
commit
ded7a20f82
1 changed files with 1 additions and 1 deletions
|
|
@ -1087,7 +1087,7 @@ auth_fail:
|
|||
pstat = &stat;
|
||||
memset((char *)pstat, '\0', sizeof(stat));
|
||||
pstat->auth_seq = 2;
|
||||
memcpy(pstat->hwaddr, sa, 6);
|
||||
ether_addr_copy(pstat->hwaddr, sa);
|
||||
|
||||
issue_auth(padapter, pstat, (unsigned short)status);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue