staging: r8188eu: use ieee80211 helper to check for beacon
authorMartin Kaiser <martin@kaiser.cx>
Sun, 15 May 2022 15:53:57 +0000 (17:53 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 19 May 2022 15:42:23 +0000 (17:42 +0200)
commitc7711f1fa7edb59f52fdf478b7f714ebc6315a80
tree339b73d9ef90d53d02257448374b87c99633626e
parent3194f684aca1a9da04614472bdfbdfe9ac0c831f
staging: r8188eu: use ieee80211 helper to check for beacon

Use the ieee80211_is_beacon helper to check if the incoming frame is a
beacon frame.

Signed-off-by: Martin Kaiser <martin@kaiser.cx>
Link: https://lore.kernel.org/r/20220515155401.352742-2-martin@kaiser.cx
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/r8188eu/hal/rtl8188e_rxdesc.c