staging: r8188eu: use ieee80211_mgmt to parse addresses
authorMartin Kaiser <martin@kaiser.cx>
Tue, 29 Nov 2022 20:51:48 +0000 (21:51 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 5 Dec 2022 12:29:07 +0000 (13:29 +0100)
commit4de531ce41e5aab9d3c5884e8360faaec82fb62e
tree70645a8afca01ea3b38970f354fe9cb6e3e1a098
parent17c1202a9e689dc875c864c1f1e8dded70c0a8a0
staging: r8188eu: use ieee80211_mgmt to parse addresses

Define a struct ieee80211_mgmt in the OnDisassoc function and use it to
parse the addresses in the incoming disassoc message. This replaces some
driver-specific functions for address parsing.

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