Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 54d5c5cd authored by Jes Sorensen's avatar Jes Sorensen Committed by Greg Kroah-Hartman
Browse files

staging: rtl8723au: Fix alignment of mac_addr for ether_addr_copy() usage



Make sure struct eeprom_priv->mac_addr is 2 byte aligned to work with
ether_addr_copy()

Reported-by: default avatarDan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: default avatarJes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent ab608c24
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -107,12 +107,12 @@ enum rt_customer_id
};

struct eeprom_priv {
	u8		mac_addr[6];	/* PermanentAddress */
	u8		bautoload_fail_flag;
	u8		bloadfile_fail_flag;
	u8		bloadmac_fail_flag;
	/* u8		bempty; */
	/* u8		sys_config; */
	u8		mac_addr[6];	/* PermanentAddress */
	/* u8		config0; */
	u16		channel_plan;
	/* u8		country_string[3]; */