staging: r8188eu: use subtype helper in rtw_check_bcn_info
authorMartin Kaiser <martin@kaiser.cx>
Fri, 2 Dec 2022 09:31:59 +0000 (10:31 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 5 Dec 2022 12:29:32 +0000 (13:29 +0100)
commit7868f8f858968066b23287c9733e777a8407384c
tree0ab6ff7b3414ad27fae14f2b2be4ee349fcc3a41
parent506783ffa96f953eea94d6ff99c4e908965fc383
staging: r8188eu: use subtype helper in rtw_check_bcn_info

Use ieee80211_is_beacon to check the frame subtype in rtw_check_bcn_info.
Replace the call to the driver-specific GetFrameSubType 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/20221202093159.404111-3-martin@kaiser.cx
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/r8188eu/core/rtw_wlan_util.c