staging: r8188eu: use ieee80211 helpers in validate_recv_mgnt_frame
authorMartin Kaiser <martin@kaiser.cx>
Sun, 3 Apr 2022 16:38:18 +0000 (18:38 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 4 Apr 2022 14:30:55 +0000 (16:30 +0200)
commit5a3fe21cc4317682494aa1ff568eff54c50be596
tree344099e9a0dbf25e2f36c096681d8a6f4a3a3f57
parent51e260ca8084864daa9c759f6aefa25ad17698ca
staging: r8188eu: use ieee80211 helpers in validate_recv_mgnt_frame

Use the ieee80211 helpers to detect the frame subtype in
and to parse mac addresses in validate_recv_mgnt_frame.

Signed-off-by: Martin Kaiser <martin@kaiser.cx>
Link: https://lore.kernel.org/r/20220403163818.357173-3-martin@kaiser.cx
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/r8188eu/core/rtw_recv.c