Commit ded7a20f authored by Jes Sorensen's avatar Jes Sorensen Committed by Greg Kroah-Hartman

staging: rtl8723au: OnAuth23a(): Use ether_addr_copy()

Signed-off-by: default avatarJes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 1ae17bf1
...@@ -1087,7 +1087,7 @@ OnAuth23a(struct rtw_adapter *padapter, struct recv_frame *precv_frame) ...@@ -1087,7 +1087,7 @@ OnAuth23a(struct rtw_adapter *padapter, struct recv_frame *precv_frame)
pstat = &stat; pstat = &stat;
memset((char *)pstat, '\0', sizeof(stat)); memset((char *)pstat, '\0', sizeof(stat));
pstat->auth_seq = 2; pstat->auth_seq = 2;
memcpy(pstat->hwaddr, sa, 6); ether_addr_copy(pstat->hwaddr, sa);
issue_auth(padapter, pstat, (unsigned short)status); issue_auth(padapter, pstat, (unsigned short)status);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment