staging: r8188eu: replace GetAddr1Ptr call in OnAction_p2p
authorMartin Kaiser <martin@kaiser.cx>
Sun, 30 Oct 2022 17:33:21 +0000 (18:33 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 31 Oct 2022 08:09:04 +0000 (09:09 +0100)
commitfc47cb05cf19017c3eb87da9b82e20f57b595ad3
tree4b4b8b85a5112ee6b208f76b2ec643db60be439a
parente246bf42ef82ac25d8a7ad45ddd07fbf161f7e7f
staging: r8188eu: replace GetAddr1Ptr call in OnAction_p2p

Define a struct ieee80211_mgmt in OnAction_p2p and use it to check the
destination address. This replaces a call to the driver-specific
GetAddr1Ptr function.

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-9-martin@kaiser.cx
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/r8188eu/core/rtw_mlme_ext.c