staging: r8188eu: replace a GetAddr1Ptr call
authorMartin Kaiser <martin@kaiser.cx>
Sun, 30 Oct 2022 17:33:14 +0000 (18:33 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 31 Oct 2022 08:09:02 +0000 (09:09 +0100)
commit5c4fb46e9116bd7cf87bd76b417a865626e13c30
tree58210cc5fe0e02c77c3d5515a66af48fa8c807b0
parent336ccc31cda111c830332d4b56def49c9c1d48e6
staging: r8188eu: replace a GetAddr1Ptr call

Define a struct ieee80211_mgmt and use it to read the destination address.

This replaces one call to the driver-specific GetAddr1Ptr function, which
should eventually be removed.

Tested-by: Philipp Hortmann <philipp.g.hortmann@gmail.com> # Edimax N150
Signed-off-by: Martin Kaiser <martin@kaiser.cx>
Link: https://lore.kernel.org/r/20221030173326.1588647-2-martin@kaiser.cx
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/r8188eu/core/rtw_mlme_ext.c