staging: r8188eu: use ieee80211_mgmt for action category
authorMartin Kaiser <martin@kaiser.cx>
Mon, 2 May 2022 20:06:50 +0000 (22:06 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 5 May 2022 21:22:39 +0000 (23:22 +0200)
commit87f4820238bbc8869c5a450fe9a08ef77c0ab6ec
tree6b0ea14efbee753da5c379c99ff27605eb054352
parent11d2e7de0d8a4b706872f6e79679c32dcb3c0393
staging: r8188eu: use ieee80211_mgmt for action category

Use the struct ieee80211_mgmt from ieee80211.h to read the action
category. There's no need to parse the incoming frame ourselves.

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