staging: r8188eu: read reason code from ieee80211_mgmt
authorMartin Kaiser <martin@kaiser.cx>
Tue, 29 Nov 2022 20:51:49 +0000 (21:51 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 5 Dec 2022 12:29:07 +0000 (13:29 +0100)
commite70cac829d63f24aac0ea858a5407d25cf55b85a
treea8285a859170424b160d5f26af9abb6af593000c
parent4de531ce41e5aab9d3c5884e8360faaec82fb62e
staging: r8188eu: read reason code from ieee80211_mgmt

Use the struct ieee80211_mgmt to read the reason code instead of parsing
the message manually.

Remove the pframe pointer, it's no longer used.

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