wifi: use struct_group to copy addresses
authorJohannes Berg <johannes.berg@intel.com>
Mon, 29 Aug 2022 09:46:38 +0000 (11:46 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Sat, 3 Sep 2022 14:40:06 +0000 (16:40 +0200)
commit2aec909912da55a6e469fd6ee8412080a5433ed2
tree20833c2bb291f9019c954434c00b093d6d45a935
parent8c0427842aaef161a38ac83b7e8d8fe050b4be04
wifi: use struct_group to copy addresses

We sometimes copy all the addresses from the 802.11 header
for the AAD, which may cause complaints from fortify checks.
Use struct_group() to avoid the compiler warnings/errors.

Change-Id: Ic3ea389105e7813b22095b295079eecdabde5045
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
include/linux/ieee80211.h
net/mac80211/wpa.c
net/wireless/lib80211_crypt_ccmp.c