25 lines
946 B
Diff
25 lines
946 B
Diff
From: Jes Sorensen <Jes.Sorensen@redhat.com>
|
|
Date: Mon, 9 Jun 2014 15:16:34 +0200
|
|
Subject: [055/249] staging: rtl8723au: OnAuth23a(): Use ether_addr_copy()
|
|
Origin: https://git.kernel.org/linus/ded7a20f827164bb7efc602f6f11e70cfa3e73e4
|
|
|
|
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
|
|
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
|
|
---
|
|
drivers/staging/rtl8723au/core/rtw_mlme_ext.c | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/drivers/staging/rtl8723au/core/rtw_mlme_ext.c b/drivers/staging/rtl8723au/core/rtw_mlme_ext.c
|
|
index 14193b4..bed7eb7 100644
|
|
--- a/drivers/staging/rtl8723au/core/rtw_mlme_ext.c
|
|
+++ b/drivers/staging/rtl8723au/core/rtw_mlme_ext.c
|
|
@@ -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);
|
|
|