wifi: use struct_group to copy addresses
authorJohannes Berg <johannes.berg@intel.com>
Mon, 29 Aug 2022 09:46:38 +0000 (11:46 +0200)
committerChristian Lamparter <chunkeey@gmail.com>
Sun, 21 May 2023 21:03:28 +0000 (23:03 +0200)
commit7c422dc57e77e55402633b51bba276e4b12d7ee4
tree720feca00ae2818cdc43a9626d086c887621f2e6
parent34b9303152c2e046da1461e4730c23c185701880
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>
Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
include/linux/ieee80211.h