]> git.baikalelectronics.ru Git - kernel.git/commit
staging: r8188eu: use ieee80211 helper to check for nullfunc frame
authorMartin Kaiser <martin@kaiser.cx>
Mon, 4 Jul 2022 20:16:54 +0000 (22:16 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 8 Jul 2022 12:27:47 +0000 (14:27 +0200)
commitfbce53278c16dd79af6c2312b6a712289a289112
tree3f283d41c948992190eb4ff5d4c840254e3d93e1
parent79a2da0590c355782ad0fdc87ad6c4785d7a98df
staging: r8188eu: use ieee80211 helper to check for nullfunc frame

Use the ieee80211_is_nullfunc function from ieee80211.h to check for a
nullfunc frame. This is a data frame whose subtype has bit6 set.

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